All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: make board support depend on CLKDEV_LOOKUP
@ 2015-06-20 19:27 Paul Gortmaker
  2015-06-20 20:45 ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Gortmaker @ 2015-06-20 19:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Magnus Damm, Simon Horman, Geert Uytterhoeven,
	Greg Kroah-Hartman

Building allmodconfig for arch/cris currently fails with:

drivers/built-in.o: In function `board_staging_register_clock':
drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'
make: *** [vmlinux] Error 1

The clk_add_alias lives in drivers/clk/clkdev.c and that file
is only compiled for CONFIG_CLKDEV_LOOKUP, so it would seem
we need to add a dependency on that.

Cc: Magnus Damm <damm+renesas@opensource.se>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/staging/board/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/board/Kconfig b/drivers/staging/board/Kconfig
index b8ee81840666..4ff5a795055f 100644
--- a/drivers/staging/board/Kconfig
+++ b/drivers/staging/board/Kconfig
@@ -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.
 
-- 
2.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2015-07-02 13:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-20 19:27 [PATCH] staging: make board support depend on CLKDEV_LOOKUP Paul Gortmaker
2015-06-20 20:45 ` Geert Uytterhoeven
2015-06-20 23:28   ` [PATCH v2] staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP Paul Gortmaker
2015-06-25 14:13     ` Paul Gortmaker
2015-06-25 14:13       ` Paul Gortmaker
2015-07-02 13:54       ` Guenter Roeck

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.