mirror of https://github.com/torvalds/linux.git
pmdomain: st: Add a Kconfig option for the ux500 power domain
We shouldn't really use the CONFIG_ARCH_U8500 option directly, but rather have our own dedicated Kconfig option, so let's add that. Cc: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
70556c57ea
commit
c6d6afb840
|
|
@ -11,5 +11,6 @@ source "drivers/pmdomain/qcom/Kconfig"
|
||||||
source "drivers/pmdomain/renesas/Kconfig"
|
source "drivers/pmdomain/renesas/Kconfig"
|
||||||
source "drivers/pmdomain/rockchip/Kconfig"
|
source "drivers/pmdomain/rockchip/Kconfig"
|
||||||
source "drivers/pmdomain/samsung/Kconfig"
|
source "drivers/pmdomain/samsung/Kconfig"
|
||||||
|
source "drivers/pmdomain/st/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
config UX500_PM_DOMAIN
|
||||||
|
bool "ST-Ericsson ux500 Power Domain"
|
||||||
|
depends on ARCH_U8500 || COMPILE_TEST
|
||||||
|
default ARCH_U8500
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o
|
obj-$(CONFIG_UX500_PM_DOMAIN) += ste-ux500-pm-domain.o
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue