From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL 2/4] BCM2835 drivers changes for 4.5
Date: Thu, 07 Jan 2016 15:48:33 +0100 [thread overview]
Message-ID: <4103866.sgZeef1xdh@wuerfel> (raw)
In-Reply-To: <1451365282-10505-3-git-send-email-eric@anholt.net>
On Monday 28 December 2015 21:01:20 Eric Anholt wrote:
> ----------------------------------------------------------------
> This pull request includes the bcm2835 changes for 4.5 targeting the
> arm-soc next/drivers branch.
(sorry for the late mail, this was stuck in my outbox because of
one failed recipient address)
I've applied this one on top, following the output of the build bot.
Arnd
>From d635e88df44c8b9860b05d4df22c90bf96e9f986 Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <arnd@arndb.de>
Date: Thu, 31 Dec 2015 23:39:14 +0100
Subject: [PATCH] ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency
The firmware driver can be a loadable module, but the power domain
can only be built-in, so we get a build error in an allmodconfig
kernel:
:(.text+0x17e59c): undefined reference to `rpi_firmware_property'
:(.text+0x17e51c): undefined reference to `rpi_firmware_get'
:(.text+0x17e244): undefined reference to `rpi_firmware_property'
This changes the dependency to only allow the power domain code
to be enabled when the firmware driver is built-in. Other users
of the firmware driver may still be loadable modules and not
everyone needs the power domains, so we don't change the firmware
code.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
index 5ba1827fe36f..3066edea184d 100644
--- a/drivers/soc/bcm/Kconfig
+++ b/drivers/soc/bcm/Kconfig
@@ -1,7 +1,7 @@
config RASPBERRYPI_POWER
bool "Raspberry Pi power domain driver"
depends on ARCH_BCM2835 || COMPILE_TEST
- depends on RASPBERRYPI_FIRMWARE
+ depends on RASPBERRYPI_FIRMWARE=y
select PM_GENERIC_DOMAINS if PM
select PM_GENERIC_DOMAINS_OF if PM
help
next prev parent reply other threads:[~2016-01-07 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 5:01 [GIT PULL] BCM2835/6 changes for 4.5 (I hope) Eric Anholt
2015-12-29 5:01 ` [GIT PULL 1/4] BCM2835 SOC changes for 4.5 Eric Anholt
2015-12-29 5:01 ` [GIT PULL 2/4] BCM2835 drivers " Eric Anholt
2016-01-07 14:48 ` Arnd Bergmann [this message]
2015-12-29 5:01 ` [GIT PULL 3/4] BCM2835 DT " Eric Anholt
2015-12-29 5:01 ` [GIT PULL 4/4] BCM2835 defconfig " Eric Anholt
2015-12-31 2:58 ` [GIT PULL] BCM2835/6 changes for 4.5 (I hope) Florian Fainelli
2015-12-31 16:21 ` Arnd Bergmann
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=4103866.sgZeef1xdh@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox