drop GPIODEV platform code
[openwrt/openwrt.git] / target / linux / atheros / patches-3.3 / 100-board.patch
index ded4fb03f4d61e6bbaaaac366c1bab0cbffa13a7..bd00d93064cb89d9814dd0afaac0338e7a8e1ef7 100644 (file)
 +#endif
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-ar231x/ar231x.h
-@@ -0,0 +1,54 @@
+@@ -0,0 +1,57 @@
 +#ifndef __AR531X_H
 +#define __AR531X_H
 +
++#include <linux/types.h>
++#include <linux/io.h>
++
 +#define AR531X_MISC_IRQ_BASE          0x20
 +#define AR531X_GPIO_IRQ_BASE          0x30
 +
 +#endif
 --- /dev/null
 +++ b/arch/mips/ar231x/devices.c
-@@ -0,0 +1,173 @@
+@@ -0,0 +1,168 @@
 +#include <linux/kernel.h>
 +#include <linux/init.h>
 +#include <linux/serial.h>
 +
 +static int __init ar231x_register_devices(void)
 +{
-+      static struct resource res = {
-+              .start = 0xFFFFFFFF,
-+      };
-+
-+      platform_device_register_simple("GPIODEV", 0, &res, 1);
 +      ar5312_init_devices();
 +      ar2315_init_devices();
 +