Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm Fix build



details:   https://anonhg.NetBSD.org/src/rev/a91f4ee44c77
branches:  trunk
changeset: 959224:a91f4ee44c77
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Feb 05 08:07:14 2021 +0000

description:
Fix build

diffstat:

 sys/arch/arm/amlogic/meson_platform.c     |  6 +++---
 sys/arch/arm/nxp/imx6_platform.c          |  6 +++---
 sys/arch/arm/ti/omap3_platform.c          |  6 +++---
 sys/arch/arm/vexpress/vexpress_platform.c |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r e292b8db5951 -r a91f4ee44c77 sys/arch/arm/amlogic/meson_platform.c
--- a/sys/arch/arm/amlogic/meson_platform.c     Fri Feb 05 05:53:40 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_platform.c     Fri Feb 05 08:07:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_platform.c,v 1.18 2021/02/04 22:36:53 thorpej Exp $ */
+/* $NetBSD: meson_platform.c,v 1.19 2021/02/05 08:07:14 skrll Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "arml2cc.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: meson_platform.c,v 1.18 2021/02/04 22:36:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_platform.c,v 1.19 2021/02/05 08:07:14 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -234,7 +234,7 @@
        device_t parent = device_parent(self);
        char *ptr;
 
-       fdtbus_device_register(dev, aux);
+       fdtbus_device_register(self, aux);
 
        if (device_is_a(self, "ld") &&
            device_is_a(parent, "sdmmc") &&
diff -r e292b8db5951 -r a91f4ee44c77 sys/arch/arm/nxp/imx6_platform.c
--- a/sys/arch/arm/nxp/imx6_platform.c  Fri Feb 05 05:53:40 2021 +0000
+++ b/sys/arch/arm/nxp/imx6_platform.c  Fri Feb 05 08:07:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_platform.c,v 1.4 2021/02/04 22:36:53 thorpej Exp $        */
+/*     $NetBSD: imx6_platform.c,v 1.5 2021/02/05 08:07:14 skrll Exp $  */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_platform.c,v 1.4 2021/02/04 22:36:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_platform.c,v 1.5 2021/02/05 08:07:14 skrll Exp $");
 
 #include "arml2cc.h"
 #include "opt_console.h"
@@ -119,7 +119,7 @@
 {
        prop_dictionary_t prop = device_properties(self);
 
-       fdtbus_device_register(dev, aux);
+       fdtbus_device_register(self, aux);
 
        if (device_is_a(self, "atphy")) {
                static const struct device_compatible_entry compat_data[] = {
diff -r e292b8db5951 -r a91f4ee44c77 sys/arch/arm/ti/omap3_platform.c
--- a/sys/arch/arm/ti/omap3_platform.c  Fri Feb 05 05:53:40 2021 +0000
+++ b/sys/arch/arm/ti/omap3_platform.c  Fri Feb 05 08:07:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_platform.c,v 1.5 2021/02/04 22:36:53 thorpej Exp $ */
+/* $NetBSD: omap3_platform.c,v 1.6 2021/02/05 08:07:14 skrll Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_console.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap3_platform.c,v 1.5 2021/02/04 22:36:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_platform.c,v 1.6 2021/02/05 08:07:14 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -146,7 +146,7 @@
 static void
 omap3_platform_device_register(device_t self, void *aux)
 {
-       fdtbus_device_register(dev, aux);
+       fdtbus_device_register(self, aux);
 }
 
 static u_int
diff -r e292b8db5951 -r a91f4ee44c77 sys/arch/arm/vexpress/vexpress_platform.c
--- a/sys/arch/arm/vexpress/vexpress_platform.c Fri Feb 05 05:53:40 2021 +0000
+++ b/sys/arch/arm/vexpress/vexpress_platform.c Fri Feb 05 08:07:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vexpress_platform.c,v 1.20 2021/02/04 22:36:54 thorpej Exp $ */
+/* $NetBSD: vexpress_platform.c,v 1.21 2021/02/05 08:07:14 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_console.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vexpress_platform.c,v 1.20 2021/02/04 22:36:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vexpress_platform.c,v 1.21 2021/02/05 08:07:14 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -195,7 +195,7 @@
 static void
 vexpress_platform_device_register(device_t self, void *aux)
 {
-       fdtbus_device_register(dev, aux);
+       fdtbus_device_register(self, aux);
 }
 
 static void



Home | Main Index | Thread Index | Old Index