X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/02e6bac2e97a142eb9dca065045f7990d2110c3b..e6a2f81c9cf8a6749cde3ea640150c2c496971b7:/target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch diff --git a/target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch b/target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch index 365eb6a40..ff7ffb1e4 100644 --- a/target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch +++ b/target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch @@ -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 +#include + ++#include +#include -+#include ++#include + +#include + @@ -116,7 +117,7 @@ +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 + * @@ -145,7 +146,7 @@ +#include + +#include -+#include ++#include +#include +#include +#include @@ -285,6 +286,7 @@ +static struct platform_device usr8200_rtc = { + .name = "rtc7301", + .id = 0, ++ .num_resources = 1, + .resource = &usr8200_rtc_resources, +}; +