linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bcma: Add dependency on OF_ADDRESS
@ 2014-10-09 16:41 Guenter Roeck
  2014-10-09 16:54 ` Rafał Miłecki
  0 siblings, 1 reply; 20+ messages in thread
From: Guenter Roeck @ 2014-10-09 16:41 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: linux-wireless, linux-kernel, Guenter Roeck, Hauke Mehrtens,
	Arnd Bergmann

Commit 2101e533f41a ("bcma: register bcma as device tree driver")
introduces a hard dependency on OF_ADDRESS into the bcma driver.
OF_ADDRESS is specifically disabled for the sparc architecture.
This results in the following error when building sparc64:allmodconfig.

drivers/bcma/main.c: In function 'bcma_of_find_child_device':
drivers/bcma/main.c:150:3: error: implicit declaration of function 'of_translate_address'

Fixes: 2101e533f41a ("bcma: register bcma as device tree driver")
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/bcma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig
index 0ee48be..ca4b420 100644
--- a/drivers/bcma/Kconfig
+++ b/drivers/bcma/Kconfig
@@ -1,6 +1,6 @@
 config BCMA_POSSIBLE
 	bool
-	depends on HAS_IOMEM && HAS_DMA
+	depends on HAS_IOMEM && HAS_DMA && OF_ADDRESS
 	default y
 
 menu "Broadcom specific AMBA"
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-10-27 15:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 16:41 [PATCH] bcma: Add dependency on OF_ADDRESS Guenter Roeck
2014-10-09 16:54 ` Rafał Miłecki
2014-10-09 17:15   ` Guenter Roeck
2014-10-09 17:15   ` Arend van Spriel
2014-10-09 17:18     ` Arend van Spriel
2014-10-09 17:29       ` Guenter Roeck
2014-10-09 18:28         ` Hauke Mehrtens
2014-10-09 19:25           ` Guenter Roeck
2014-10-09 21:48             ` Hauke Mehrtens
2014-10-09 21:57               ` Guenter Roeck
2014-10-10  9:30               ` Arend van Spriel
2014-10-09 21:39           ` [PATCH] bcma: fix build when CONFIG_OF_ADDRESS is not set Hauke Mehrtens
2014-10-09 21:46             ` Guenter Roeck
2014-10-25 20:36             ` Guenter Roeck
2014-10-27 15:15               ` John W. Linville
2014-10-27 15:42                 ` Guenter Roeck
2014-10-09 17:21     ` [PATCH] bcma: Add dependency on OF_ADDRESS Guenter Roeck
2014-10-10  0:24       ` Julian Calaby
2014-10-10  4:32         ` David Miller
2014-10-09 17:28     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).