drop GPIODEV platform code
[openwrt.git] / target / linux / cns3xxx / patches-3.3 / 300-laguna_support.patch
index ee2a604..dc9ca48 100644 (file)
@@ -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
 + *
 +/*
 + * GPIO
 + */
-+static struct platform_device laguna_gpio_dev = {
-+      .name = "GPIODEV",
-+      .id = -1,
-+};
 +
 +static struct gpio laguna_gpio_gw2391[] = {
 +      {   0, GPIOF_IN           , "*GPS_PPS" },
 +                      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
 +      }