summaryrefslogtreecommitdiff
path: root/packages/linux/nslu2-kernel/2.6.15/60-nslu2-rtc.patch
blob: 9e390c6b7a5cc2c55d0291186579091bd41b2810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 arch/arm/mach-ixp4xx/nslu2-setup.c |    5 +++++
 1 file changed, 5 insertions(+)

--- linux-2.6.15/arch/arm/mach-ixp4xx/nslu2-setup.c	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.15/arch/arm/mach-ixp4xx/nslu2-setup.c	1970-01-01 00:00:00.000000000 +0000
@@ -95,10 +95,15 @@ static struct platform_device nslu2_uart
 	.resource		= nslu2_uart_resources,
 };
 
+static struct platform_device nslu2_rtc = {
+	.name			= "x1205-rtc",
+};
+
 static struct platform_device *nslu2_devices[] __initdata = {
 	&nslu2_i2c_controller,
 	&nslu2_flash,
 	&nslu2_uart,
+	&nslu2_rtc,
 };
 
 static void nslu2_power_off(void)