projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add IXP4xx GPIOLIB support based on Chris' patch
[openwrt.git]
/
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
365eb6a
..
ff7ffb1
100644
(file)
--- 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
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/usr8200-pci.c
-@@ -0,0 +1,7
8
@@
+@@ -0,0 +1,7
9
@@
+/*
+ * arch/arch/mach-ixp4xx/usr8200-pci.c
+ *
+/*
+ * arch/arch/mach-ixp4xx/usr8200-pci.c
+ *
@@
-62,8
+62,9
@@
+#include <linux/init.h>
+#include <linux/irq.h>
+
+#include <linux/init.h>
+#include <linux/irq.h>
+
++#include <asm/irq.h>
+#include <asm/mach-types.h>
+#include <asm/mach-types.h>
-+#include <
mach
/hardware.h>
++#include <
asm
/hardware.h>
+
+#include <asm/mach/pci.h>
+
+
+#include <asm/mach/pci.h>
+
@@
-116,7
+117,7
@@
+subsys_initcall(usr8200_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
+subsys_initcall(usr8200_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
-@@ -0,0 +1,21
1
@@
+@@ -0,0 +1,21
2
@@
+/*
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
+ *
+/*
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
+ *
@@
-145,7
+146,7
@@
+#include <linux/leds.h>
+
+#include <asm/setup.h>
+#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>
+#include <asm/irq.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
@@
-285,6
+286,7
@@
+static struct platform_device usr8200_rtc = {
+ .name = "rtc7301",
+ .id = 0,
+static struct platform_device usr8200_rtc = {
+ .name = "rtc7301",
+ .id = 0,
++ .num_resources = 1,
+ .resource = &usr8200_rtc_resources,
+};
+
+ .resource = &usr8200_rtc_resources,
+};
+
This page took
0.020847 seconds
and
4
git commands to generate.