Skip to content

Commit 20a6a4d

Browse files
bulwahnpH5
authored andcommitted
reset: sti: simplify driver's config and build
With commit 6493351 ("reset: sti: Remove STiH415/6 reset support"), there is only one sti reset driver left and there no need to define a dedicated config STI_RESET_SYSCFG, which is selected by the config for the STiH407 reset driver. Simply add reset-syscfg.c to the build for the STiH407 reset driver. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Link: https://lore.kernel.org/r/20230330112347.31137-2-lukas.bulwahn@gmail.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent da46de5 commit 20a6a4d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

drivers/reset/sti/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
if ARCH_STI
33

4-
config STI_RESET_SYSCFG
5-
bool
6-
74
config STIH407_RESET
85
bool
9-
select STI_RESET_SYSCFG
106

117
endif

drivers/reset/sti/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
obj-$(CONFIG_STI_RESET_SYSCFG) += reset-syscfg.o
3-
4-
obj-$(CONFIG_STIH407_RESET) += reset-stih407.o
2+
obj-$(CONFIG_STIH407_RESET) += reset-stih407.o reset-syscfg.o

0 commit comments

Comments
 (0)