diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-02-18 14:49:56 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-02-18 14:49:56 +0000 |
commit | effac7639d733d602eefafd90f7bb59fb8c934ee (patch) | |
tree | b1f131436d46f8eff6d38c12def62743251587d5 /packages/linux/linux-2.6.24/mpc8313e-rdb | |
parent | 2d9c5fdc3308a487ce0e0d07e2de1b227abc54e7 (diff) |
linux-2.6.2[34]: rename mpc8313e-rdb LEDs
Diffstat (limited to 'packages/linux/linux-2.6.24/mpc8313e-rdb')
-rw-r--r-- | packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-leds.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-leds.patch b/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-leds.patch index f1dca9d8e1..5336905a66 100644 --- a/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-leds.patch +++ b/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-leds.patch @@ -20,8 +20,8 @@ diff -urN linux-2.6.24.orig/drivers/leds/leds-mpc8313e-rdb.c linux-2.6.24/driver @@ -0,0 +1,171 @@ +/* + * drivers/leds/leds-mpc8313e-rdb.c -+ * Copyright (C) 2007 Leon Woestenberg <leon@sidebranch.com> + * Copyright (C) 2007 Jeremy Laine <jeremy.laine@bolloretelecom.eu> ++ * Copyright (C) 2007 Leon Woestenberg <leon@sidebranch.com> + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file COPYING in the main directory of this archive for @@ -99,21 +99,21 @@ diff -urN linux-2.6.24.orig/drivers/leds/leds-mpc8313e-rdb.c linux-2.6.24/driver + }, + { + .cdev = { -+ .name = "mpc8313:green", ++ .name = "mpc8313:led5", + .brightness_set = mpc8313leds_set, + }, + .bitmask = 32, + }, + { + .cdev = { -+ .name = "mpc8313:yellow", ++ .name = "mpc8313:led6", + .brightness_set = mpc8313leds_set, + }, + .bitmask = 64, + }, + { + .cdev = { -+ .name = "mpc8313:red", ++ .name = "mpc8313:led7", + .brightness_set = mpc8313leds_set, + }, + .bitmask = 128, @@ -186,7 +186,7 @@ diff -urN linux-2.6.24.orig/drivers/leds/leds-mpc8313e-rdb.c linux-2.6.24/driver +module_init(mpc8313leds_init); +module_exit(mpc8313leds_exit); + -+MODULE_AUTHOR("Leon Woestenberg <leon@sidebranch.com>"); ++MODULE_AUTHOR("Jeremy Laine <jeremy.laine@bolloretelecom.eu>"); +MODULE_DESCRIPTION("MPC8313E-RDB LED driver"); +MODULE_LICENSE("GPL"); diff -urN linux-2.6.24.orig/drivers/leds/Makefile linux-2.6.24/drivers/leds/Makefile |