mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 789f95f2a444c44ad576578213c430ba4ed27321 Mon Sep 17 00:00:00 2001
 | |
| From: Allen Wild <allenwild93@gmail.com>
 | |
| Date: Tue, 26 Sep 2017 19:37:44 +0200
 | |
| Subject: [PATCH 153/277] 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")
 | |
| Reviewed-by: Eric Anholt <eric@anholt.net>
 | |
| Signed-off-by: Allen Wild <allenwild93@gmail.com>
 | |
| Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
 | |
| Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
 | |
| ---
 | |
|  drivers/thermal/Kconfig | 2 +-
 | |
|  1 file changed, 1 insertion(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
 | |
| index 07002df4f83a..e3f0d1fd1720 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
 | |
|  
 | |
| -- 
 | |
| 2.16.1
 | |
| 
 |