Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/odroid Rename led0 to led1 to be consistent ...



details:   https://anonhg.NetBSD.org/src/rev/cab4b76d63a4
branches:  trunk
changeset: 795886:cab4b76d63a4
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Fri May 09 22:02:10 2014 +0000

description:
Rename led0 to led1 to be consistent with the linux distro

diffstat:

 sys/arch/evbarm/odroid/odroid_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 543591e17186 -r cab4b76d63a4 sys/arch/evbarm/odroid/odroid_machdep.c
--- a/sys/arch/evbarm/odroid/odroid_machdep.c   Fri May 09 21:49:43 2014 +0000
+++ b/sys/arch/evbarm/odroid/odroid_machdep.c   Fri May 09 22:02:10 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: odroid_machdep.c,v 1.9 2014/05/09 21:49:43 reinoud Exp $ */
+/*     $NetBSD: odroid_machdep.c,v 1.10 2014/05/09 22:02:10 reinoud Exp $ */
 
 /*
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.9 2014/05/09 21:49:43 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.10 2014/05/09 22:02:10 reinoud Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_exynos.h"
@@ -551,7 +551,7 @@
        }
 
        if (device_is_a(self, "mct"))
-               prop_dictionary_set_cstring(dict, "blinkled", "led0");
+               prop_dictionary_set_cstring(dict, "blinkled", "led1");
 
        if (device_is_a(self, "exyogpio")) {
 #ifdef EXYNOS4
@@ -559,7 +559,7 @@
                        /* unused bits */
                        odroid_exynos4_gpio_ncs(self, dict);
                        /* explicit pin settings */
-                       prop_dictionary_set_cstring(dict, "led0", ">GPC1[0]");
+                       prop_dictionary_set_cstring(dict, "led1", ">GPC1[0]");
                }
 #endif
 #ifdef EXYNOS5



Home | Main Index | Thread Index | Old Index