[PATCH] GCC4 compile fixes for mpc52xx

Sylvain Munaut tnt at 246tNt.com
Tue Jun 21 17:10:01 EST 2005


roger blofeld wrote:
> Sylvain,
>  A quick patch to fix your tree for gcc4
> -rb
> 
> drivers/net/fec_mpc52xx/fec.c: In function 'fec_reinit':
> drivers/net/fec_mpc52xx/fec.c:525: error: invalid storage class for
> function 'fec_update_stat'
> 
> drivers/serial/mpc52xx_uart.c:707: error: static declaration of
> 'mpc52xx_uart_driver' follows non-static declaration
> drivers/serial/mpc52xx_uart.c:675: error: previous declaration of
> 'mpc52xx_uart_driver' was here
> 
> Signed off by Roger Blofeld <blofeldus at yahoo.com>
> 

Hi Roger,

Applied to my tree (with slight modification, I don't even see why
fec_update was declared there so I just removed it.)

The relevant part to the UART driver will be pushed along my next
set of update.


	Sylvain



More information about the Linuxppc-embedded mailing list