mpc85xx: add gpio-keys to OF match table
authorGabor Juhos <juhosg@openwrt.org>
Tue, 19 Feb 2013 14:53:16 +0000 (14:53 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 19 Feb 2013 14:53:16 +0000 (14:53 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35676

target/linux/mpc85xx/patches-3.7/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch [new file with mode: 0644]

diff --git a/target/linux/mpc85xx/patches-3.7/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch b/target/linux/mpc85xx/patches-3.7/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
new file mode 100644 (file)
index 0000000..e79edbe
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/arch/powerpc/platforms/85xx/common.c
++++ b/arch/powerpc/platforms/85xx/common.c
+@@ -27,6 +27,7 @@ static struct of_device_id __initdata mp
+       { .compatible = "fsl,mpc8548-guts", },
+       /* Probably unnecessary? */
+       { .compatible = "gpio-leds", },
++      { .compatible = "gpio-keys", },
+       /* For all PCI controllers */
+       { .compatible = "fsl,mpc8540-pci", },
+       { .compatible = "fsl,mpc8548-pcie", },