]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: rtl8169: add depends on PCI
authorEugen Hristev <eugen.hristev@collabora.com>
Wed, 17 May 2023 10:41:24 +0000 (13:41 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 14 Jun 2023 16:56:10 +0000 (12:56 -0400)
commit89d8c56f44c11d65237c39fced33f95138cd4062
tree9accd76f703d1f6910ec1589c569bfc4dcdbadfb
parent7a5f4e4c2f8956b3e4d5b0957990b9ea1818bedb
net: rtl8169: add depends on PCI

The rtl8169 driver uses calls to dm_pci_bus_to_phys,
which are compiled under CONFIG_PCI.

Without CONFIG_PCI, this happens:

drivers/net/rtl8169.o: in function `rtl_recv_common':
drivers/net/rtl8169.c:555: undefined reference to `dm_pci_bus_to_phys'

It is only natural that this driver depends on CONFIG_PCI then.
The device does not work connected in another way anyway, and the driver
does not assume anything else at this moment.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/Kconfig