Patchwork Fix FEC driver compilation

login
register
mail settings
Submitter Sascha Hauer
Date April 8, 2009, 9:49 a.m.
Message ID <20090408094940.GL14383@pengutronix.de>
Download mbox | patch
Permalink /patch/25724/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sascha Hauer - April 8, 2009, 9:49 a.m.
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>
David Miller - April 8, 2009, 10:44 p.m.
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

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)