aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-10-17 21:53:37 +0000
committerJohn Crispin <blogic@openwrt.org>2012-10-17 21:53:37 +0000
commitfb47a917c207afa0631518b0b7a80e19ac0c796d (patch)
tree7119a1430707d10597e1c1a4cb2d4189cb396fbd /target/linux/cns3xxx
parentc921e6607e2a0db1af65834d172f83d59268b71e (diff)
downloadupstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.gz
upstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.bz2
upstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.zip
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 ee2a60434b..dc9ca485f5 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
+ }