diff mbox

Fix FEC driver compilation

Message ID 20090408094940.GL14383@pengutronix.de
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Sascha Hauer April 8, 2009, 9:49 a.m. UTC
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>

Comments

David Miller April 8, 2009, 10:44 p.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)