]> git.sur5r.net Git - u-boot/commit
net: e1000: Fix the build with driver model and SPI EEPROM
authorAlban Bedel <alban.bedel@avionic-design.de>
Wed, 3 Aug 2016 09:31:03 +0000 (11:31 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:45 +0000 (13:34 -0500)
commiteb4e8ceb4787ffaba4c2ff3b34978138b25ec248
tree99d432aa3c88a41ff160a74ca7d1ebfb058fe9f8
parent70f14636861e70276426687dc3cf6ede3e1c2b99
net: e1000: Fix the build with driver model and SPI EEPROM

When adding support for the driver model the SPI EEPROM feature had
been ignored. Fix the build with both CONFIG_DM_ETH and
CONFIG_E1000_SPI enabled.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/e1000.c
drivers/net/e1000_spi.c