linux/drivers/net/ethernet/smsc
Robert Jarzmik 25c07e2c5e net: smc91x: fix neponset breakage by pxa u16 writes
The patch isolating the u16 writes for pxa assumed all machine_is_*()
calls were removed, and therefore removed the mach-types.h include which
provided them.

Unfortunately 2 machine_is_*() remained in smc91x.c file including
smc91x.h from which the include was removed, triggering the error:
 drivers/net/ethernet/smsc/smc91x.c: In function ‘smc_drv_probe’:
 drivers/net/ethernet/smsc/smc91x.c:2380:2: error: implicit declaration
 of function ‘machine_is_assabet’
 [-Werror=implicit-function-declaration]
	if (machine_is_assabet() && machine_has_neponset())

This adds back the wrongly removed include.

Fixes: d09d747ae4 ("net: smc91x: isolate u16 writes alignment workaround")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-20 11:20:57 -04:00
..
epic100.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Kconfig net: smsc: Add support h8300 2016-01-15 15:14:23 -05:00
Makefile
smc91c92_cs.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
smc91x.c net: smc91x: take into account half-word workaround 2016-10-18 14:14:21 -04:00
smc91x.h net: smc91x: fix neponset breakage by pxa u16 writes 2016-10-20 11:20:57 -04:00
smc911x.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
smc911x.h net: smc911x: convert pxa dma to dmaengine 2016-03-18 22:23:59 -04:00
smc9194.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
smc9194.h
smsc911x.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
smsc911x.h smsc: replace WARN_ON() with WARN_ON_SMP() 2014-08-11 14:38:29 -07:00
smsc9420.c net: ethernet: smsc9420: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:35 -07:00
smsc9420.h