diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-10-28 16:20:11 +0100 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-10-28 16:20:11 +0100 |
commit | b3a385a228a5a88ad1a0ba8504e09d4e20eed41d (patch) | |
tree | bb0b98185dd20a69128a171bec05a075e10422c9 /recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch | |
parent | 35e29f89240d5fc55967e2014a0fcef1595d5f61 (diff) |
linux-2.6.31: use standard GPIO drivers for boc01
Diffstat (limited to 'recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch')
-rw-r--r-- | recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch b/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch new file mode 100644 index 0000000000..2e37e81d40 --- /dev/null +++ b/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch @@ -0,0 +1,22 @@ +Index: linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c +=================================================================== +--- linux-2.6.31.orig/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-10-28 14:56:44.000000000 +0100 ++++ linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-10-28 15:44:23.000000000 +0100 +@@ -20,6 +20,7 @@ + #include <asm/ipic.h> + #include <asm/udbg.h> + #include <sysdev/fsl_pci.h> ++#include <sysdev/simple_gpio.h> + + #include "mpc83xx.h" + +@@ -79,6 +80,9 @@ + + static int __init declare_of_platform_devices(void) + { ++ /* memory-mapped IO extender */ ++ simple_gpiochip_init("fsl,mpc8313-exio"); ++ + of_platform_bus_probe(NULL, of_bus_ids, NULL); + return 0; + } |