summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-17 21:53:37 +0000
committerJohn Crispin <john@openwrt.org>2012-10-17 21:53:37 +0000
commit6993e195328353fe02c525ded684f134edc6e81a (patch)
treecb72e566dacb3d5d160082ac930afc00546f4230 /target/linux/cns3xxx
parent788a5816ad218c8401db3eccf459e8c55df35458 (diff)
downloadmtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.zip
mtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.tar.gz
mtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.tar.bz2
drop GPIODEV platform code
SVN-Revision: 33825
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/patches-3.3/300-laguna_support.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
index ee2a604..dc9ca48 100644
--- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
+++ b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -0,0 +1,936 @@
+@@ -0,0 +1,931 @@
+/*
+ * Gateworks Corporation Laguna Platform
+ *
@@ -585,10 +585,6 @@
+/*
+ * GPIO
+ */
-+static struct platform_device laguna_gpio_dev = {
-+ .name = "GPIODEV",
-+ .id = -1,
-+};
+
+static struct gpio laguna_gpio_gw2391[] = {
+ { 0, GPIOF_IN , "*GPS_PPS" },
@@ -919,7 +915,6 @@
+ laguna_gpio_leds_data.num_leds = 2;
+ }
+ platform_device_register(&laguna_gpio_leds_device);
-+ platform_device_register(&laguna_gpio_dev);
+ } else {
+ // Do some defaults here, not sure what yet
+ }