[PATCH v2 57/67] media: platform: rename am437x/ to ti/am437x/

Mauro Carvalho Chehab
2022-03-14T16:38:59Z

As the end goal is to have platform drivers split by vendor,
rename am437x/ to ti/am437x/.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.git.mchehab@kernel.org/

MAINTAINERS | 2 +-
drivers/media/platform/Kconfig | 2 +-
drivers/media/platform/Makefile | 2 +-
drivers/media/platform/{ => ti}/am437x/Kconfig | 0
drivers/media/platform/{ => ti}/am437x/Makefile | 0
drivers/media/platform/{ => ti}/am437x/am437x-vpfe.c | 0
drivers/media/platform/{ => ti}/am437x/am437x-vpfe.h | 0
drivers/media/platform/{ => ti}/am437x/am437x-vpfe_regs.h | 0
8 files changed, 3 insertions(+), 3 deletions(-)
rename drivers/media/platform/{ => ti}/am437x/Kconfig (100%)
rename drivers/media/platform/{ => ti}/am437x/Makefile (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe.c (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe.h (100%)
rename drivers/media/platform/{ => ti}/am437x/am437x-vpfe_regs.h (100%)

diff --git a/MAINTAINERS b/MAINTAINERS
index 6c1055c27c65..f0b262176a70 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -19262,7 +19262,7 @@ S: Maintained
W: https://linuxtv.org
Q: http://patchwork.linuxtv.org/project/linux-media/list/
T: git git://linuxtv.org/mhadli/v4l-dvb-davinci_devices.git
-F: drivers/media/platform/am437x/
+F: drivers/media/platform/ti/am437x/

TI BANDGAP AND THERMAL DRIVER
M: Eduardo Valentin <edubezval@gmail.com>
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 2ad5fde02543..5d56058fa397 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -67,7 +67,6 @@ config VIDEO_MUX

source "drivers/media/platform/allegro-dvt/Kconfig"
source "drivers/media/platform/allwinner/Kconfig"
-source "drivers/media/platform/am437x/Kconfig"
source "drivers/media/platform/amlogic/meson-ge2d/Kconfig"
source "drivers/media/platform/amphion/Kconfig"
source "drivers/media/platform/aspeed/Kconfig"
@@ -97,6 +96,7 @@ source "drivers/media/platform/samsung/s5p-mfc/Kconfig"
source "drivers/media/platform/stm/sti/Kconfig"
source "drivers/media/platform/stm/stm32/Kconfig"
source "drivers/media/platform/ti-vpe/Kconfig"
+source "drivers/media/platform/ti/am437x/Kconfig"
source "drivers/media/platform/via/Kconfig"
source "drivers/media/platform/xilinx/Kconfig"

diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index f20f1287c665..f8c4617da0ae 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -7,7 +7,6 @@
# (e. g. LC_ALL=C sort Makefile)
obj-y += allegro-dvt/
obj-y += allwinner/
-obj-y += am437x/
obj-y += amlogic/meson-ge2d/
obj-y += amphion/
obj-y += aspeed/
@@ -42,6 +41,7 @@ obj-y += stm/sti/delta/
obj-y += stm/sti/hva/
obj-y += stm/stm32/
obj-y += ti-vpe/
+obj-y += ti/am437x/
obj-y += via/
obj-y += xilinx/

diff --git a/drivers/media/platform/am437x/Kconfig b/drivers/media/platform/ti/am437x/Kconfig
similarity index 100%
rename from drivers/media/platform/am437x/Kconfig
rename to drivers/media/platform/ti/am437x/Kconfig
diff --git a/drivers/media/platform/am437x/Makefile b/drivers/media/platform/ti/am437x/Makefile
similarity index 100%
rename from drivers/media/platform/am437x/Makefile
rename to drivers/media/platform/ti/am437x/Makefile
diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/ti/am437x/am437x-vpfe.c
similarity index 100%
rename from drivers/media/platform/am437x/am437x-vpfe.c
rename to drivers/media/platform/ti/am437x/am437x-vpfe.c
diff --git a/drivers/media/platform/am437x/am437x-vpfe.h b/drivers/media/platform/ti/am437x/am437x-vpfe.h
similarity index 100%
rename from drivers/media/platform/am437x/am437x-vpfe.h
rename to drivers/media/platform/ti/am437x/am437x-vpfe.h
diff --git a/drivers/media/platform/am437x/am437x-vpfe_regs.h b/drivers/media/platform/ti/am437x/am437x-vpfe_regs.h
similarity index 100%
rename from drivers/media/platform/am437x/am437x-vpfe_regs.h
rename to drivers/media/platform/ti/am437x/am437x-vpfe_regs.h
--
2.35.1