add a workaround preventing libtool from hardcoding library path in shared libs
[openwrt.git] / target / linux / ixp4xx / patches-2.6.26 / 500-usr8200_support.patch
index 365eb6a..ff7ffb1 100644 (file)
@@ -35,7 +35,7 @@
  obj-$(CONFIG_IXP4XX_QMGR)     += ixp4xx_qmgr.o
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/usr8200-pci.c
-@@ -0,0 +1,78 @@
+@@ -0,0 +1,79 @@
 +/*
 + * arch/arch/mach-ixp4xx/usr8200-pci.c
 + *
@@ -62,8 +62,9 @@
 +#include <linux/init.h>
 +#include <linux/irq.h>
 +
++#include <asm/irq.h>
 +#include <asm/mach-types.h>
-+#include <mach/hardware.h>
++#include <asm/hardware.h>
 +
 +#include <asm/mach/pci.h>
 +
 +subsys_initcall(usr8200_pci_init);
 --- /dev/null
 +++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
-@@ -0,0 +1,211 @@
+@@ -0,0 +1,212 @@
 +/*
 + * arch/arm/mach-ixp4xx/usr8200-setup.c
 + *
 +#include <linux/leds.h>
 +
 +#include <asm/setup.h>
-+#include <mach/hardware.h>
++#include <asm/hardware.h>
 +#include <asm/irq.h>
 +#include <asm/mach-types.h>
 +#include <asm/mach/arch.h>
 +static struct platform_device usr8200_rtc = {
 +      .name           = "rtc7301",
 +      .id             = 0,
++      .num_resources  = 1,
 +      .resource       = &usr8200_rtc_resources,
 +};
 +
This page took 0.024989 seconds and 4 git commands to generate.