diff mbox series

[02/17] pmdomain: actions: Move Kconfig file to the pmdomain subsystem

Message ID 20230914111650.586477-1-ulf.hansson@linaro.org
State Accepted
Commit 4db570466cddfdf3ccbbc6d180d059551ff93e68
Headers show
Series [01/17] pmdomain: Prepare to move Kconfig files into the pmdomain subsystem | expand

Commit Message

Ulf Hansson Sept. 14, 2023, 11:16 a.m. UTC
The Kconfig belongs closer to the corresponding implementation, hence let's
move it from the soc subsystem to the pmdomain subsystem.

Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: <linux-actions@lists.infradead.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 MAINTAINERS                               | 2 +-
 drivers/pmdomain/Kconfig                  | 2 ++
 drivers/{soc => pmdomain}/actions/Kconfig | 0
 drivers/soc/Kconfig                       | 1 -
 4 files changed, 3 insertions(+), 2 deletions(-)
 rename drivers/{soc => pmdomain}/actions/Kconfig (100%)
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index f1c34484c9b2..6b491ebcf790 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1788,7 +1788,7 @@  F:	drivers/irqchip/irq-owl-sirq.c
 F:	drivers/mmc/host/owl-mmc.c
 F:	drivers/net/ethernet/actions/
 F:	drivers/pinctrl/actions/*
-F:	drivers/soc/actions/
+F:	drivers/pmdomain/actions/
 F:	include/dt-bindings/power/owl-*
 F:	include/dt-bindings/reset/actions,*
 F:	include/linux/soc/actions/
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
index c32a76b51840..8acb10bcdec9 100644
--- a/drivers/pmdomain/Kconfig
+++ b/drivers/pmdomain/Kconfig
@@ -1,4 +1,6 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 menu "Power Domains Support"
 
+source "drivers/pmdomain/actions/Kconfig"
+
 endmenu
diff --git a/drivers/soc/actions/Kconfig b/drivers/pmdomain/actions/Kconfig
similarity index 100%
rename from drivers/soc/actions/Kconfig
rename to drivers/pmdomain/actions/Kconfig
diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
index d21e75d69294..8b46da40f107 100644
--- a/drivers/soc/Kconfig
+++ b/drivers/soc/Kconfig
@@ -1,7 +1,6 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 menu "SOC (System On Chip) specific Drivers"
 
-source "drivers/soc/actions/Kconfig"
 source "drivers/soc/amlogic/Kconfig"
 source "drivers/soc/apple/Kconfig"
 source "drivers/soc/aspeed/Kconfig"