compile warning

Arnd Bergmann arnd at arndb.de
Tue Oct 30 20:05:46 EST 2007


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 <><



More information about the Linuxppc-dev mailing list