[PATCH]: MIPS: IP32: Fix two build errors in reset code introduced in DS1685 platform hook patch

From: Joshua Kinard
Date: Sun Apr 19 2015 - 21:53:48 EST


From: Joshua Kinard <kumba@xxxxxxxxxx>

Fix two build errors that somehow got into upstream.

Signed-off-by: Joshua Kinard <kumba@xxxxxxxxxx>
Fixes: 15beb694c661: "mips: ip32: add platform data hooks to use DS1685
driver"
---
arch/mips/sgi-ip32/ip32-platform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/sgi-ip32/ip32-platform.c b/arch/mips/sgi-ip32/ip32-platform.c
index 0134db2..686a372 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 = {
.resource = ip32_rtc_resources,
};

-+static int __init sgio2_rtc_devinit(void)
+static int __init sgio2_rtc_devinit(void)
{
return platform_device_register(&ip32_rtc_device);
}

-device_initcall(sgio2_cmos_devinit);
+device_initcall(sgio2_rtc_devinit);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/