From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752046AbbDTBxm (ORCPT ); Sun, 19 Apr 2015 21:53:42 -0400 Received: from resqmta-ch2-07v.sys.comcast.net ([69.252.207.39]:55052 "EHLO resqmta-ch2-07v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbbDTBxl (ORCPT ); Sun, 19 Apr 2015 21:53:41 -0400 X-Greylist: delayed 492 seconds by postgrey-1.27 at vger.kernel.org; Sun, 19 Apr 2015 21:53:41 EDT Message-ID: <55345A35.5000003@gentoo.org> Date: Sun, 19 Apr 2015 21:45:25 -0400 From: Joshua Kinard User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andrew Morton , Ralf Baechle , Alessandro Zummo CC: LKML , rtc-linux@googlegroups.com, Linux MIPS List Subject: [PATCH]: MIPS: IP32: Fix two build errors in reset code introduced in DS1685 platform hook patch Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joshua Kinard Fix two build errors that somehow got into upstream. Signed-off-by: Joshua Kinard 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);