Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/samsung Init array no longer required



details:   https://anonhg.NetBSD.org/src/rev/94833847a539
branches:  trunk
changeset: 823217:94833847a539
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Apr 16 15:52:16 2017 +0000

description:
Init array no longer required

diffstat:

 sys/arch/arm/samsung/exynos_fdt.c |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (42 lines):

diff -r c4fd40fa64f8 -r 94833847a539 sys/arch/arm/samsung/exynos_fdt.c
--- a/sys/arch/arm/samsung/exynos_fdt.c Sun Apr 16 15:49:26 2017 +0000
+++ b/sys/arch/arm/samsung/exynos_fdt.c Sun Apr 16 15:52:16 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_fdt.c,v 1.3 2015/12/27 12:21:12 jmcneill Exp $ */
+/* $NetBSD: exynos_fdt.c,v 1.4 2017/04/16 15:52:16 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_exynos.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exynos_fdt.c,v 1.3 2015/12/27 12:21:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_fdt.c,v 1.4 2017/04/16 15:52:16 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -64,14 +64,6 @@
 void
 exynosfdt_attach(device_t parent, device_t self, void *aux)
 {
-       const char *exynosfdt_init[] = {
-               "interrupt-controller",
-               "clock-controller",
-               "pinctrl",
-               "i2c",
-               "phy"
-       };
-
        exynosfdt_found = true;
 
        aprint_naive("\n");
@@ -83,8 +75,6 @@
                .faa_a4x_bst = &armv7_generic_a4x_bs_tag,
                .faa_dmat = &exynos_bus_dma_tag,
                .faa_phandle = OF_peer(0),
-               .faa_init = exynosfdt_init,
-               .faa_ninit = __arraycount(exynosfdt_init)
        };
        config_found(self, &faa, NULL);
 }



Home | Main Index | Thread Index | Old Index