Patchwork thermal: enable broadcom menu for arm64 bcm2835

login
register
mail settings
Submitter Stefan Wahren
Date Sept. 26, 2017, 5:37 p.m.
Message ID <1506447464-3234-1-git-send-email-stefan.wahren@i2se.com>
Download mbox | patch
Permalink /patch/9972399/
State Accepted
Delegated to: Eduardo Valentin
Headers show

Comments

Stefan Wahren - Sept. 26, 2017, 5:37 p.m.
From: Allen Wild <allenwild93@gmail.com>

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")
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Stefan Wahren - Oct. 12, 2017, 5:32 p.m.
> Stefan Wahren <stefan.wahren@i2se.com> hat am 26. September 2017 um 19:37 geschrieben:
> 
> 
> From: Allen Wild <allenwild93@gmail.com>
> 
> 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")
> Signed-off-by: Allen Wild <allenwild93@gmail.com>
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> ---

gentle ping to Eduardo ...
Eduardo Valentin - Oct. 17, 2017, 12:27 a.m.
On Thu, Oct 12, 2017 at 07:32:27PM +0200, Stefan Wahren wrote:
> > Stefan Wahren <stefan.wahren@i2se.com> hat am 26. September 2017 um 19:37 geschrieben:
> > 
> > 
> > From: Allen Wild <allenwild93@gmail.com>
> > 
> > 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")
> > Signed-off-by: Allen Wild <allenwild93@gmail.com>
> > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> > ---
> 
> gentle ping to Eduardo ...

Collecting this

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 07002df..e3f0d1f 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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