Skip to contentSkip to conversation

thermal: enable broadcom menu for arm64 bcm2835

PATCH In review Allen Wild 3 participants 3 messages Sep 2, 2017 – Sep 23, 2017 Thermal

lore
Share & tools
lore

Allen Wild

author
#0 lore raw

PATCH v2 1/1 thermal: enable broadcom menu for arm64 bcm2835

Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only available when 32-bit specific ARCH_BCM is set.

Fix this by enabling the Broadcom menu for ARCH_BCM or ARCH_BCM2835.

Fixes 6892cf07e733 ("thermal: bcm2835: move to the broadcom subdirectory")
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index b5b5facb8747..962620925878 100644
@@ -408,7 +408,7 @@ config MTK_THERMAL
 	  controller present in Mediatek SoCs
 
 menu "Broadcom thermal drivers"
-depends on ARCH_BCM || COMPILE_TEST
+depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
 source "drivers/thermal/broadcom/Kconfig"
 endmenu
 
Signature · 1 line
2.14.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Allen Wild

Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only available when 32-bit specific ARCH_BCM is set.

Fix this by enabling the Broadcom menu for ARCH_BCM or ARCH_BCM2835.

Fixes 6892cf07e733 ("thermal: bcm2835: move to the broadcom subdirectory")
#2 lore raw
In reply to Allen Wild

Hi Allen,

Quoted 7 lines

Allen Wild <[email protected]> hat am 2. September 2017 um 05:36 geschrieben:

Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only available when 32-bit specific ARCH_BCM is set.

Quoted 5 lines

Fix this by enabling the Broadcom menu for ARCH_BCM or ARCH_BCM2835.

Fixes 6892cf07e733 ("thermal: bcm2835: move to the broadcom subdirectory")

could you please resend your patch with thermal maintainers in CC?

Thanks
Stefan

Quoted 25 lines
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index b5b5facb8747..962620925878 100644
@@ -408,7 +408,7 @@ config MTK_THERMAL
 	  controller present in Mediatek SoCs
 
 menu "Broadcom thermal drivers"
-depends on ARCH_BCM || COMPILE_TEST
+depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
 source "drivers/thermal/broadcom/Kconfig"
 endmenu
 
Signature · 7 lines
2.14.1


_______________________________________________
linux-rpi-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel