Subject: Re: compile warning

From: Arnd Bergmann <[email-masked]>
Date: Tue, 30 Oct 2007 10:05:46 +0100

On Tuesday 30 October 2007, Sergej Stepanov wrote:

> -void
> +void __init
>  cpm2_reset(void)
>  {
>  #ifdef CONFIG_PPC_85xx
> ------------------
> I am not sure it is ok.

Yes, this looks good.

> 
> But i have other 2 warnings (no modules).
> 
> WARNING: vmlinux.o(.exit.text+0x5da): Section mismatch: reference to
> .init.data:of_platform_serial_driver (between 'of_platform_serial_exit'
> and 'phy_exit')  
> WARNING: vmlinux.o(.exit.text+0x5e2): Section mismatch: reference to
> .init.data:of_platform_serial_driver (between 'of_platform_serial_exit' 
> and 'phy_exit')  

This seems to be my fault. I'll try to come up with the right fix.

	Arnd <><