diff options
author | Jose Vasconcellos <jvasco@verizon.net> | 2009-01-15 21:48:26 +0000 |
---|---|---|
committer | Jose Vasconcellos <jvasco@verizon.net> | 2009-01-15 21:48:26 +0000 |
commit | 1b58d9c2f8a97680063e0a32220f8341adccdd6d (patch) | |
tree | 71da9c366dcf91ac8c443e02d8d2d83577552cbb | |
parent | cd0cd144211799097831bd8afec5d68a5cd45b9a (diff) | |
download | upstream-1b58d9c2f8a97680063e0a32220f8341adccdd6d.tar.gz upstream-1b58d9c2f8a97680063e0a32220f8341adccdd6d.tar.bz2 upstream-1b58d9c2f8a97680063e0a32220f8341adccdd6d.zip |
Set num_resources for rtc7301 platform device.
SVN-Revision: 14045
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, +}; + |