net: e1000: don't try to register eeprom if MTD support is missing
EEPROM support is an optional feature and the driver should work
just fine without it.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a86f9ca commit e9be2ee4cb46e09adefe041a6b7a5b392738209e
@Lucas Stach Lucas Stach authored on 20 Dec 2016
Sascha Hauer committed on 9 Jan 2017
Showing 1 changed file
View
drivers/net/e1000/main.c