lkml.org 
[lkml]   [2015]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH]: MIPS: IP32: Fix two build errors in reset code introduced in DS1685 platform hook patch
From: Joshua Kinard <kumba@gentoo.org>

Fix two build errors that somehow got into upstream.

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
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);


\
 
 \ /
  Last update: 2015-04-20 04:21    [W:0.032 / U:2.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site