aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/tx4927
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/tx4927')
-rw-r--r--arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
index 0f7576dfd141..a0c11efeaeeb 100644
--- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
+++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
@@ -1049,3 +1049,22 @@ static int __init toshiba_rbtx4927_rtc_init(void)
1049 return IS_ERR(dev) ? PTR_ERR(dev) : 0; 1049 return IS_ERR(dev) ? PTR_ERR(dev) : 0;
1050} 1050}
1051device_initcall(toshiba_rbtx4927_rtc_init); 1051device_initcall(toshiba_rbtx4927_rtc_init);
1052
1053static int __init rbtx4927_ne_init(void)
1054{
1055 static struct resource __initdata res[] = {
1056 {
1057 .start = RBTX4927_RTL_8019_BASE,
1058 .end = RBTX4927_RTL_8019_BASE + 0x20 - 1,
1059 .flags = IORESOURCE_IO,
1060 }, {
1061 .start = RBTX4927_RTL_8019_IRQ,
1062 .flags = IORESOURCE_IRQ,
1063 }
1064 };
1065 struct platform_device *dev =
1066 platform_device_register_simple("ne", -1,
1067 res, ARRAY_SIZE(res));
1068 return IS_ERR(dev) ? PTR_ERR(dev) : 0;
1069}
1070device_initcall(rbtx4927_ne_init);