]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
thermal: bcm2835: move to the broadcom subdirectory
authorRafał Miłecki <rafal@milecki.pl>
Mon, 17 Apr 2017 21:04:16 +0000 (23:04 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 23 Apr 2017 15:55:37 +0000 (08:55 -0700)
We already have 2 Broadcom drivers and at least 1 more is coming. This
made us create broadcom subdirectory where bcm2835 should be moves now.

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/broadcom/Kconfig
drivers/thermal/broadcom/Makefile
drivers/thermal/broadcom/bcm2835_thermal.c [moved from drivers/thermal/bcm2835_thermal.c with 100% similarity]

index 6699843918facb3b48aaa6e5a05d21b747724774..f786ae433032b35835514d59a1cb0f642d5a115e 100644 (file)
@@ -468,12 +468,4 @@ config ZX2967_THERMAL
          the primitive temperature sensor embedded in zx2967 SoCs.
          This sensor generates the real time die temperature.
 
-config BCM2835_THERMAL
-       tristate "Thermal sensors on bcm2835 SoC"
-       depends on ARCH_BCM2835 || COMPILE_TEST
-       depends on HAS_IOMEM
-       depends on THERMAL_OF
-       help
-         Support for thermal sensors on Broadcom bcm2835 SoCs.
-
 endif
index a1e9b8b4e897d9500d6ae027293ad482b1c5c676..e6834061da28c78eeff99d83461fb1b934d75f16 100644 (file)
@@ -60,4 +60,3 @@ obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
 obj-$(CONFIG_MTK_THERMAL)      += mtk_thermal.o
 obj-$(CONFIG_GENERIC_ADC_THERMAL)      += thermal-generic-adc.o
 obj-$(CONFIG_ZX2967_THERMAL)   += zx2967_thermal.o
-obj-$(CONFIG_BCM2835_THERMAL)  += bcm2835_thermal.o
index f0dea8a8e002ed52db705ef3391f2046ec713091..ab08af4654ef18c05d1ab9725dd96fb44f9264bf 100644 (file)
@@ -1,3 +1,11 @@
+config BCM2835_THERMAL
+       tristate "Thermal sensors on bcm2835 SoC"
+       depends on ARCH_BCM2835 || COMPILE_TEST
+       depends on HAS_IOMEM
+       depends on THERMAL_OF
+       help
+         Support for thermal sensors on Broadcom bcm2835 SoCs.
+
 config BCM_NS_THERMAL
        tristate "Northstar thermal driver"
        depends on ARCH_BCM_IPROC || COMPILE_TEST
index 059df9a0ed69f5b46032dd0670379ce50bc9bd3f..c6f62e4fd0eede90b0e0607bde00957a7b29df00 100644 (file)
@@ -1 +1,2 @@
+obj-$(CONFIG_BCM2835_THERMAL)          += bcm2835_thermal.o
 obj-$(CONFIG_BCM_NS_THERMAL)           += ns-thermal.o