All of lore.kernel.org
 help / color / mirror / Atom feed
From: Allen Wild <allenwild93@gmail.com>
To: linux-pm@vger.kernel.org
Cc: Allen Wild <allenwild93@gmail.com>
Subject: [PATCH 1/2] thermal: enable broadcom menu for arm64 bcm2835
Date: Wed, 30 Aug 2017 23:43:05 -0400	[thread overview]
Message-ID: <20170831034306.13413-1-allenwild93@gmail.com> (raw)

The bcm2835 thermal driver works for arm64 (Raspberry Pi 3), but the
Broadcom thermal Kconfig menu depends on the 32-bit ARCH_BCM config so the
driver can't be enabled.

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

Signed-off-by: Allen Wild <allenwild93@gmail.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b5b5facb8747..962620925878 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.14.1

             reply	other threads:[~2017-08-31  3:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31  3:43 Allen Wild [this message]
2017-08-31  3:43 ` [PATCH 2/2] arm64: defconfig: enable BCM2835_THERMAL Allen Wild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170831034306.13413-1-allenwild93@gmail.com \
    --to=allenwild93@gmail.com \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.