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
+
+#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);
+
+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)
DEFAULT_PREFERENCE_mpc8313e-rdb = "1"
DEFAULT_PREFERENCE_mpc8323e-rdb = "1"
-PR = "r5"
+PR = "r6"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \
file://binutils-buildid-arm.patch;patch=1 \
file://0008-cm-x270-nand-simplify-name.patch;patch=1"
SRC_URI_append_mpc8313e-rdb = "\
- file://mpc831x-nand.patch;patch=1"
+ file://mpc831x-nand.patch;patch=1 \
+ file://mpc8313e-rdb-leds.patch;patch=1"
SRC_URI_append_mpc8323e-rdb = "\
file://mpc832x-leds.patch;patch=1"