mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
Set num_resources for rtc7301 platform device.
SVN-Revision: 14045
This commit is contained in:
parent
cd0cd14421
commit
1b58d9c2f8
@ -117,7 +117,7 @@
|
|||||||
+subsys_initcall(usr8200_pci_init);
|
+subsys_initcall(usr8200_pci_init);
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
@@ -0,0 +1,211 @@
|
@@ -0,0 +1,212 @@
|
||||||
+/*
|
+/*
|
||||||
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
+ *
|
+ *
|
||||||
@ -286,6 +286,7 @@
|
|||||||
+static struct platform_device usr8200_rtc = {
|
+static struct platform_device usr8200_rtc = {
|
||||||
+ .name = "rtc7301",
|
+ .name = "rtc7301",
|
||||||
+ .id = 0,
|
+ .id = 0,
|
||||||
|
+ .num_resources = 1,
|
||||||
+ .resource = &usr8200_rtc_resources,
|
+ .resource = &usr8200_rtc_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
+subsys_initcall(usr8200_pci_init);
|
+subsys_initcall(usr8200_pci_init);
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
@@ -0,0 +1,211 @@
|
@@ -0,0 +1,212 @@
|
||||||
+/*
|
+/*
|
||||||
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
+ *
|
+ *
|
||||||
@ -285,6 +285,7 @@
|
|||||||
+static struct platform_device usr8200_rtc = {
|
+static struct platform_device usr8200_rtc = {
|
||||||
+ .name = "rtc7301",
|
+ .name = "rtc7301",
|
||||||
+ .id = 0,
|
+ .id = 0,
|
||||||
|
+ .num_resources = 1,
|
||||||
+ .resource = &usr8200_rtc_resources,
|
+ .resource = &usr8200_rtc_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
+subsys_initcall(usr8200_pci_init);
|
+subsys_initcall(usr8200_pci_init);
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
+++ b/arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
@@ -0,0 +1,211 @@
|
@@ -0,0 +1,212 @@
|
||||||
+/*
|
+/*
|
||||||
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
+ * arch/arm/mach-ixp4xx/usr8200-setup.c
|
||||||
+ *
|
+ *
|
||||||
@ -285,6 +285,7 @@
|
|||||||
+static struct platform_device usr8200_rtc = {
|
+static struct platform_device usr8200_rtc = {
|
||||||
+ .name = "rtc7301",
|
+ .name = "rtc7301",
|
||||||
+ .id = 0,
|
+ .id = 0,
|
||||||
|
+ .num_resources = 1,
|
||||||
+ .resource = &usr8200_rtc_resources,
|
+ .resource = &usr8200_rtc_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user