Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752568AbbEHFxU (ORCPT ); Fri, 8 May 2015 01:53:20 -0400 Received: from resqmta-po-04v.sys.comcast.net ([96.114.154.163]:58187 "EHLO resqmta-po-04v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496AbbEHFxR (ORCPT ); Fri, 8 May 2015 01:53:17 -0400 X-Greylist: delayed 491 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 May 2015 01:53:17 EDT Message-ID: <554C4D4E.6040904@gentoo.org> Date: Fri, 08 May 2015 01:44:46 -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: Nicholas Krause , ralf@linux-mips.org CC: akpm@linux-foundation.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mips:Fix build error for ip32_defconfig configuration References: <1431046356-27882-1-git-send-email-xerofoify@gmail.com> In-Reply-To: <1431046356-27882-1-git-send-email-xerofoify@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1355 Lines: 38 On 05/07/2015 20:52, Nicholas Krause wrote: > This fixes the make error when building the ip32_defconfig > configuration due to using sgio2_cmos_devinit rather then > the correct function,sgio2_rtc_devinit in a device_initcall > below this function's definition. > > Signed-off-by: Nicholas Krause > --- > 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..2a7efcb 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 __init int sgio2_rtc_devinit(void) > { > return platform_device_register(&ip32_rtc_device); > } > > -device_initcall(sgio2_cmos_devinit); > +device_initcall(sgio2_rtc_devinit); > I believe I sent this patch in already, back on 04/19/2015. Didn't get an acknowledgement on it from akpm, though. --J -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/