All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: board: Add dependency on CLKDEV_LOOKUP
@ 2015-06-27  2:39 Guenter Roeck
  2015-06-27  7:54 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-06-27  2:39 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: devel, linux-kernel, Guenter Roeck, Geert Uytterhoeven

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 <geert+renesas@glider.be>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 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.1.0


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

* Re: [PATCH] staging: board: Add dependency on CLKDEV_LOOKUP
  2015-06-27  2:39 [PATCH] staging: board: Add dependency on CLKDEV_LOOKUP Guenter Roeck
@ 2015-06-27  7:54 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-06-27  7:54 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Greg Kroah-Hartman, driverdevel, linux-kernel, Geert Uytterhoeven

On Sat, Jun 27, 2015 at 4:39 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> 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 <geert+renesas@glider.be>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

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 -- geert@linux-m68k.org

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

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

end of thread, other threads:[~2015-06-27  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-27  2:39 [PATCH] staging: board: Add dependency on CLKDEV_LOOKUP Guenter Roeck
2015-06-27  7:54 ` Geert Uytterhoeven

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.