aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip32
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2015-04-19 21:45:25 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-05-12 18:01:41 -0400
commit4305689d1ecd0993b68393dfa6f1fa728515e55d (patch)
treeca015d06e345b49fc8294b725618d209e636c130 /arch/mips/sgi-ip32
parent5f508c43a7648baa892528922402f1e13f258bd4 (diff)
MIPS: IP32: Fix build errors in reset code in DS1685 platform hook.
Fix two build errors in reset code introduced in DS1685 platform hook patch. Signed-off-by: Joshua Kinard <kumba@gentoo.org> Fixes: 15beb694c661: "mips: ip32: add platform data hooks to use DS1685 driver" Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: LKML <linux-kernel@vger.kernel.org> Cc: rtc-linux@googlegroups.com Cc: Linux MIPS List <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/9787/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip32')
-rw-r--r--arch/mips/sgi-ip32/ip32-platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip32/ip32-platform.c b/arch/mips/sgi-ip32/ip32-platform.c
index 0134db2ad0a8..5a2a82148d8d 100644
--- a/arch/mips/sgi-ip32/ip32-platform.c
+++ b/arch/mips/sgi-ip32/ip32-platform.c
@@ -130,9 +130,9 @@ struct platform_device ip32_rtc_device = {
130 .resource = ip32_rtc_resources, 130 .resource = ip32_rtc_resources,
131}; 131};
132 132
133+static int __init sgio2_rtc_devinit(void) 133static __init int sgio2_rtc_devinit(void)
134{ 134{
135 return platform_device_register(&ip32_rtc_device); 135 return platform_device_register(&ip32_rtc_device);
136} 136}
137 137
138device_initcall(sgio2_cmos_devinit); 138device_initcall(sgio2_rtc_devinit);