提交 96dab45f 编写于 作者: D David S. Miller

smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h

The energy detect enable/disable code in the driver uses some
register defines in this header unconditionally, so guarding
the smscphy.h header include with CONFIG_SMSC_PHY leads to
build failures in some configurations.
Reported-by: NShawn Guo <shawn.guo@linaro.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6c15d74d
......@@ -401,8 +401,6 @@
#include <asm/smsc911x.h>
#endif
#ifdef CONFIG_SMSC_PHY
#include <linux/smscphy.h>
#endif
#endif /* __SMSC911X_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册