From debb9a4a97a66560e88b2bd2578d1451677746fe Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Tue, 19 Feb 2013 14:53:16 +0000
Subject: [PATCH] mpc85xx: add gpio-keys to OF match table

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35676
---
 ...-powerpc-85xx-add-gpio-keys-to-of-match-table.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 target/linux/mpc85xx/patches-3.7/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch

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
index 0000000000..e79edbea74
--- /dev/null
+++ b/target/linux/mpc85xx/patches-3.7/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
@@ -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", },
-- 
GitLab