linux/drivers/power/reset
Anders Roxell d0c7dc1739 power: reset: vexpress: fix build issue
An allmodconfig kernel makes CONFIG_VEXPRESS_CONFIG a module and
CONFIG_POWER_RESET_VEXPRESS builtin. That makes us see this build
error:

aarch64-linux-gnu-ld: drivers/power/reset/vexpress-poweroff.o: in function `vexpress_reset_probe':
../drivers/power/reset/vexpress-poweroff.c:119: undefined reference to `devm_regmap_init_vexpress_config'
../drivers/power/reset/vexpress-poweroff.c:119:(.text+0x48c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol
`devm_regmap_init_vexpress_config'
make[1]: *** [/srv/src/kernel/next/Makefile:1126: vmlinux] Error 1

Rework so that POWER_RESET_VEXPRESS depends on 'VEXPRESS_CONFIG=y'.

Link: https://lore.kernel.org/r/20200527112608.3886105-5-anders.roxell@linaro.org
Fixes: d06cfe3f12 ("bus: vexpress-config: Merge vexpress-syscfg into vexpress-config")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-05-28 12:31:49 +02:00
..
arm-versatile-reboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
as3722-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
at91-poweroff.c power: reset: at91-poweroff: move shdwc related data to one structure 2018-12-06 21:56:37 +01:00
at91-reset.c power: reset: at91-reset: handle nrst async for sam9x60 2020-03-08 19:38:04 +01:00
at91-sama5d2_shdwc.c power: reset: at91-poweroff: use proper master clock register offset 2020-01-14 23:39:18 +01:00
axxia-reset.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
brcm-kona-reset.c power: Introduce Broadcom kona reset driver 2016-06-06 16:17:33 -07:00
brcmstb-reboot.c power/reset: brcmstb: Add support for old 65nm chips 2015-01-22 02:25:32 +01:00
gemini-poweroff.c power: gemini-poweroff: Avoid more spurious poweroffs 2018-07-06 16:34:01 +02:00
gpio-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
gpio-restart.c power: reset: gpio-restart: don't error on deferral 2019-12-18 16:10:08 +01:00
hisi-reboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig power: reset: vexpress: fix build issue 2020-05-28 12:31:49 +02:00
keystone-reset.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ltc2952-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Makefile power: reset: add driver for mt6323 poweroff 2019-10-24 09:03:56 +01:00
msm-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mt6323-poweroff.c power: reset: add driver for mt6323 poweroff 2019-10-24 09:03:56 +01:00
nvmem-reboot-mode.c power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface 2019-06-25 23:58:40 +02:00
ocelot-reset.c power: reset: ocelot: switch the SI to boot mode 2018-12-05 22:40:25 +01:00
piix4-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
qcom-pon.c reset: qcom-pon: Add support for gen2 pon 2019-06-24 23:26:32 +02:00
qnap-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
reboot-mode.c power: reset: reboot-mode: Fix author email format 2019-09-02 21:05:59 +02:00
restart-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
rmobile-reset.c power: reset: convert to SPDX identifiers 2018-09-16 11:42:48 +02:00
sc27xx-poweroff.c power supply and reset changes for the v5.7 series 2020-04-05 13:47:57 -07:00
st-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
syscon-poweroff.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
syscon-reboot-mode.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
syscon-reboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vexpress-poweroff.c power: vexpress: cleanup: use builtin_platform_driver 2020-05-28 12:31:30 +02:00
xgene-reboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
zx-reboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00