mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
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: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6c15d74def
commit
96dab45fc3
@ -401,8 +401,6 @@
|
||||
#include <asm/smsc911x.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMSC_PHY
|
||||
#include <linux/smscphy.h>
|
||||
#endif
|
||||
|
||||
#endif /* __SMSC911X_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user