r8153_ecm: avoid to be prior to r8152 driver
authorHayes Wang <hayeswang@realtek.com>
Wed, 18 Nov 2020 06:43:58 +0000 (14:43 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Nov 2020 16:23:46 +0000 (08:23 -0800)
commit657bc1d10bfc23ac06d5d687ce45826c760744f9
treeaf2f81e2a6c941fe8864f427dcc663c8c7e3e8e5
parente76d795ecb5bb67741fb9e304dcce7950c7aeea0
r8153_ecm: avoid to be prior to r8152 driver

Avoid r8153_ecm is compiled as built-in, if r8152 driver is compiled
as modules. Otherwise, the r8153_ecm would be used, even though the
device is supported by r8152 driver.

Fixes: c1aedf015ebd ("net/usb/r8153_ecm: support ECM mode for RTL8153")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/1394712342-15778-394-Taiwan-albertk@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/Kconfig
drivers/net/usb/Makefile