Skip to contentSkip to conversation

staging: board: Add dependency on CLKDEV_LOOKUP

PATCH In review Guenter Roeck 2 participants 2 messages Jun 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: board: Add dependency on CLKDEV_LOOKUP

The code depends on CLKDEV_LOOKUP since commit 225d68d852f1 ("staging:
board: Add support for devices with complex dependencies").

Related build error (powerpc:allmodconfig):

drivers/built-in.o: In function `.board_staging_register_clock':
(.init.text+0x1d8e0): undefined reference to `.clk_add_alias'

Fixes 225d68d852f1 ("staging: board: Add support for devices

with complex dependencies")

Cc Geert Uytterhoeven <[email protected]>
---
 drivers/staging/board/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/board/Kconfig +1 -1
index b8ee81840666..4ff5a795055f 100644
@@ -1,6 +1,6 @@
 config STAGING_BOARD
 	bool "Staging Board Support"
-	depends on OF_ADDRESS
+	depends on OF_ADDRESS && CLKDEV_LOOKUP
 	help
 	  Select to enable per-board staging support code.
 
Signature · 1 line
2.1.0
#1 lore raw
Quoted 5 lines · Guenter Roeck

The code depends on CLKDEV_LOOKUP since commit 225d68d852f1 ("staging:
board: Add support for devices with complex dependencies").

Related build error (powerpc:allmodconfig):

Quoted 7 lines

drivers/built-in.o: In function `.board_staging_register_clock':
(.init.text+0x1d8e0): undefined reference to `.clk_add_alias'

Fixes 225d68d852f1 ("staging: board: Add support for devices

with complex dependencies")

Cc Geert Uytterhoeven <[email protected]>

See also
[PATCH v2] staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP
https://lkml.org/lkml/2015/6/20/215

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds