From: Frank Li <Frank.Li at freescale.com> Date: Fri, 1 Feb 2013 16:56:26 +0800 > @@ -1607,6 +1607,7 @@ static int fec_enet_init(struct net_device *ndev) > } > > spin_lock_init(&fep->hw_lock); > + spin_lock_init(&fep->tmreg_lock); This breaks the build, tmreg_lock is only present in certain configurations.