drivers: can: stm32: Cleanup Kconfig enablement
Follow the pattern we have for other peripherals in that if the driver class (CAN) is enabled than enable the driver for that class (CAN_STM32). Also have the STM32 CAN driver depend on being on a STM32 SoC. Remove setting of CONFIG_CAN_STM32 in any .conf files as it will get set of CONFIG_CAN is set/enabled. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f502da5b08
commit
bb6b1918b2
6 changed files with 8 additions and 7 deletions
|
@ -86,4 +86,11 @@ config COUNTER_RTC_STM32
|
|||
|
||||
endif # COUNTER
|
||||
|
||||
if CAN
|
||||
|
||||
config CAN_STM32
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
endif # SOC_FAMILY_STM32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue