Set num_resources for rtc7301 platform device.
authorJose Vasconcellos <jvasco@verizon.net>
Thu, 15 Jan 2009 21:48:26 +0000 (21:48 +0000)
committerJose Vasconcellos <jvasco@verizon.net>
Thu, 15 Jan 2009 21:48:26 +0000 (21:48 +0000)
SVN-Revision: 14045

target/linux/ixp4xx/patches-2.6.26/500-usr8200_support.patch
target/linux/ixp4xx/patches-2.6.27/500-usr8200_support.patch
target/linux/ixp4xx/patches-2.6.28/500-usr8200_support.patch

index 137e7885aa94f50a86a3c006cfd99551f97c20d6..ff7ffb1e49c3c68aa00c723a9882f6f646e9abf5 100644 (file)
 +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
 + *
 +static struct platform_device usr8200_rtc = {
 +      .name           = "rtc7301",
 +      .id             = 0,
++      .num_resources  = 1,
 +      .resource       = &usr8200_rtc_resources,
 +};
 +
index ef818c7ca0498659a5f900d019c4d3ad47188095..6c23e6b3a8f9d2ac0db16187b6e04a3faf110866 100644 (file)
 +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
 + *
 +static struct platform_device usr8200_rtc = {
 +      .name           = "rtc7301",
 +      .id             = 0,
++      .num_resources  = 1,
 +      .resource       = &usr8200_rtc_resources,
 +};
 +
index ef818c7ca0498659a5f900d019c4d3ad47188095..6c23e6b3a8f9d2ac0db16187b6e04a3faf110866 100644 (file)
 +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
 + *
 +static struct platform_device usr8200_rtc = {
 +      .name           = "rtc7301",
 +      .id             = 0,
++      .num_resources  = 1,
 +      .resource       = &usr8200_rtc_resources,
 +};
 +