summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/300-laguna_support.patch')
-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
+ }