All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips:Fix build error for ip32_defconfig configuration
@ 2015-05-08  0:52 Nicholas Krause
  2015-05-08  5:44 ` Joshua Kinard
  0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Krause @ 2015-05-08  0:52 UTC (permalink / raw)
  To: ralf; +Cc: akpm, kumba, linux-mips, linux-kernel

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 <xerofoify@gmail.com>
---
 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);
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mips:Fix build error for ip32_defconfig configuration
  2015-05-08  0:52 [PATCH] mips:Fix build error for ip32_defconfig configuration Nicholas Krause
@ 2015-05-08  5:44 ` Joshua Kinard
  2015-05-08 14:13   ` nick
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Kinard @ 2015-05-08  5:44 UTC (permalink / raw)
  To: Nicholas Krause, ralf; +Cc: akpm, linux-mips, linux-kernel

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 <xerofoify@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mips:Fix build error for ip32_defconfig configuration
  2015-05-08  5:44 ` Joshua Kinard
@ 2015-05-08 14:13   ` nick
  0 siblings, 0 replies; 3+ messages in thread
From: nick @ 2015-05-08 14:13 UTC (permalink / raw)
  To: Joshua Kinard, ralf; +Cc: akpm, linux-mips, linux-kernel



On 2015-05-08 01:44 AM, Joshua Kinard wrote:
> 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 <xerofoify@gmail.com>
>> ---
>>  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
> 
That's fine, I didn't known about that. 
Sorry Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-08 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08  0:52 [PATCH] mips:Fix build error for ip32_defconfig configuration Nicholas Krause
2015-05-08  5:44 ` Joshua Kinard
2015-05-08 14:13   ` nick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.