Skip to content
Commit f26c9d7f authored by Andre Przywara's avatar Andre Przywara Committed by Ramon Fried
Browse files

net: smc911x: Drop redundant CONFIG_SMC911X_16_BIT Kconfig symbol



The SMC911x Ethernet driver needs to know which accessor functions it
can use to access the MMIO registers. For that reason we have a Kconfig
choice between 16 and 32-bit bus width.

Since it's only those two options that we (and the Linux kernel)
support, and there does not seem to be any evidence of another bus
width anywhere, limit the Kconfig construct to a simple symbol.

This simplifies the code and allows a later rework to be much easier.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 8a3987f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment