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 update compatible string to match exyno...



details:   https://anonhg.NetBSD.org/src/rev/f16b711026e5
branches:  trunk
changeset: 342545:f16b711026e5
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Dec 27 12:21:37 2015 +0000

description:
update compatible string to match exynos5422-odroidxu3.dts

diffstat:

 sys/arch/arm/samsung/exynos_pinctrl.c |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r b7b964a81fe9 -r f16b711026e5 sys/arch/arm/samsung/exynos_pinctrl.c
--- a/sys/arch/arm/samsung/exynos_pinctrl.c     Sun Dec 27 12:21:12 2015 +0000
+++ b/sys/arch/arm/samsung/exynos_pinctrl.c     Sun Dec 27 12:21:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exynos_pinctrl.c,v 1.6 2015/12/24 01:10:51 marty Exp $ */
+/*     $NetBSD: exynos_pinctrl.c,v 1.7 2015/12/27 12:21:37 jmcneill Exp $ */
 
 /*-
 * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #include "gpio.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_pinctrl.c,v 1.6 2015/12/24 01:10:51 marty Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_pinctrl.c,v 1.7 2015/12/27 12:21:37 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -62,7 +62,7 @@
 static int
 exynos_pinctrl_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "samsung,exynos5422-pinctrl",
+       const char * const compatible[] = { "samsung,exynos5420-pinctrl",
                                            NULL };
        struct fdt_attach_args * const faa = aux;
        return of_match_compatible(faa->faa_phandle, compatible);
@@ -94,14 +94,13 @@
                return;
        }
 
+       aprint_naive("\n");
+       aprint_normal("\n");
+
        for (child = OF_child(faa->faa_phandle); child;
             child = OF_peer(child)) {
                if (of_getprop_bool(child, "gpio-controller") == false)
                        continue;
                exynos_gpio_bank_config(sc, faa, child);
        }
-
-       aprint_naive("\n");
-       aprint_normal("\n");
-
 }



Home | Main Index | Thread Index | Old Index