summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatein4 <matein4@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 21:48:26 +0000
committermatein4 <matein4@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 21:48:26 +0000
commiteb801aeb5efda16a5e32f97145e650eb31a13572 (patch)
treeb14eb05f3a26abf52522033dff572249db2ea9dc
parent8ace14ec404d9ffc8083393cb3f67361f3883ebe (diff)
Set num_resources for rtc7301 platform device.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14045 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch3
-rw-r--r--target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch3
-rw-r--r--target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch3
3 files changed, 6 insertions, 3 deletions
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 137e7885aa..ff7ffb1e49 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
@@ -117,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
+ *
@@ -286,6 +286,7 @@
+static struct platform_device usr8200_rtc = {
+ .name = "rtc7301",
+ .id = 0,
++ .num_resources = 1,
+ .resource = &usr8200_rtc_resources,
+};
+
diff --git a/target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch b/target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch
index ef818c7ca0..6c23e6b3a8 100644
--- a/target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch
@@ -116,7 +116,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
+ *
@@ -285,6 +285,7 @@
+static struct platform_device usr8200_rtc = {
+ .name = "rtc7301",
+ .id = 0,
++ .num_resources = 1,
+ .resource = &usr8200_rtc_resources,
+};
+
diff --git a/target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch b/target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch
index ef818c7ca0..6c23e6b3a8 100644
--- a/target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch
@@ -116,7 +116,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
+ *
@@ -285,6 +285,7 @@
+static struct platform_device usr8200_rtc = {
+ .name = "rtc7301",
+ .id = 0,
++ .num_resources = 1,
+ .resource = &usr8200_rtc_resources,
+};
+