Set num_resources for rtc7301 platform device.
authormatein4 <matein4@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 21:48:26 +0000 (21:48 +0000)
committermatein4 <matein4@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 21:48:26 +0000 (21:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14045 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 137e788..ff7ffb1 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 ef818c7..6c23e6b 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 ef818c7..6c23e6b 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,
 +};
 +
This page took 0.05307 seconds and 4 git commands to generate.