netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] Fix FEC driver compilation
@ 2009-04-08  9:49 Sascha Hauer
  2009-04-08 22:44 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2009-04-08  9:49 UTC (permalink / raw)
  To: netdev; +Cc: Greg Ungerer

Hi,

Seems an #endif is missing currently in drivers/net/fec.c

Sascha


commit e023dc4defbae07ffdcb800b05c328a5cf28ab12
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Wed Apr 8 11:40:24 2009 +0200

    FEC driver: add missing #endif
    
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index a515acc..682e7f0 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1240,6 +1240,7 @@ static void __inline__ fec_phy_ack_intr(void)
 	icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1);
 	*icrp = 0x0d000000;
 }
+#endif
 
 #ifdef CONFIG_M5272
 static void __inline__ fec_get_mac(struct net_device *dev)
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: [patch] Fix FEC driver compilation
  2009-04-08  9:49 [patch] Fix FEC driver compilation Sascha Hauer
@ 2009-04-08 22:44 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-04-08 22:44 UTC (permalink / raw)
  To: s.hauer; +Cc: netdev, gerg

From: Sascha Hauer <s.hauer@pengutronix.de>
Date: Wed, 8 Apr 2009 11:49:40 +0200

>     FEC driver: add missing #endif
>     
>     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Applied, thanks.

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

end of thread, other threads:[~2009-04-08 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08  9:49 [patch] Fix FEC driver compilation Sascha Hauer
2009-04-08 22:44 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).