summaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 21:53:37 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 21:53:37 +0000
commitb4260e22f397fe98612083d43bb52633bd4b5702 (patch)
tree7119a1430707d10597e1c1a4cb2d4189cb396fbd /target/linux/cns3xxx
parent1be2e5ea11d0ff467d7f7f3e64d1f4ad872a3f0c (diff)
drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 ee2a60434..dc9ca485f 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
+ }