]> git.sur5r.net Git - u-boot/commit
e1000: fix no nvm build
authorMarcel Ziswiler <marcel@ziswiler.com>
Sun, 7 Sep 2014 22:02:11 +0000 (00:02 +0200)
committerTom Rini <trini@ti.com>
Wed, 24 Sep 2014 22:30:27 +0000 (18:30 -0400)
commita4277200a2253fda49342aa65800d27e61276170
treed8afd4bd69cac9761db4bf29cb5c17a616ab2d5b
parentbdc7dc4595646da8774f53a2c4f5a7599b0a5f16
e1000: fix no nvm build

Fix the following build error in case CONFIG_E1000_NO_NVM is enabled:
  CC      drivers/net/e1000.o
drivers/net/e1000.c: In function ‘e1000_initialize’:
drivers/net/e1000.c:5365:5: error: ‘struct e1000_hw’ has no
member named ‘eeprom_semaphore_present’
make[1]: *** [drivers/net/e1000.o] Error 1
make: *** [drivers/net] Error 2
Acked-by: Marek Vasut <marex@denx.de>
drivers/net/e1000.c