diff options
Diffstat (limited to 'packages/linux/linux-2.6.23/mpc8313e-rdb')
-rw-r--r-- | packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-leds.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-leds.patch b/packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-leds.patch index cc5a120e4b..7eadfc61fe 100644 --- a/packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-leds.patch +++ b/packages/linux/linux-2.6.23/mpc8313e-rdb/mpc8313e-rdb-leds.patch @@ -18,7 +18,7 @@ Index: linux-2.6.23/drivers/leds/Kconfig Index: linux-2.6.23/drivers/leds/leds-mpc8313e-rdb.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23/drivers/leds/leds-mpc8313e-rdb.c 2007-11-29 00:32:27.000000000 +0100 ++++ linux-2.6.23/drivers/leds/leds-mpc8313e-rdb.c 2007-11-29 00:45:42.000000000 +0100 @@ -0,0 +1,128 @@ +/* + * drivers/leds/leds-mpc8313e-rdb.c @@ -35,10 +35,10 @@ Index: linux-2.6.23/drivers/leds/leds-mpc8313e-rdb.c + +#include <linux/module.h> +#include <linux/platform_device.h> ++#include <linux/ioport.h> +#include <linux/leds.h> +#include <linux/err.h> +#include <asm/io.h> -+#include <asm/ioport.h> + +int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, + int assignment, int has_irq); @@ -119,7 +119,7 @@ Index: linux-2.6.23/drivers/leds/leds-mpc8313e-rdb.c + +static int __init mpc8313leds_init(void) +{ -+ led_mem = request_mem_region(0xfa000000, 0x100); ++ led_mem = request_mem_region(0xfa000000, 0x100, "mpc8313-leds"); + if (led_mem == NULL) return -ENOMEM; + p = ioremap(0xfa000000, 0x100); + if (p == NULL) |