From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Magnus Damm <damm+renesas@opensource.se>,
Simon Horman <horms+renesas@verge.net.au>,
Geert Uytterhoeven <geert+renesas@glider.be>,
"linux-next@vger.kernel.org" <linux-next@vger.kernel.org>
Subject: Re: [PATCH v2] staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP
Date: Thu, 25 Jun 2015 10:13:22 -0400 [thread overview]
Message-ID: <558C0C82.3080709@windriver.com> (raw)
In-Reply-To: <1434842903-24708-1-git-send-email-paul.gortmaker@windriver.com>
On 15-06-20 07:28 PM, Paul Gortmaker wrote:
> 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
Just checking this didn't fall through the cracks, as its absence
causes several arch breakage on linux-next for several days now:
(.init.text+0xf968): undefined reference to `clk_add_alias'
x86: http://kisskb.ellerman.id.au/kisskb/buildresult/12448913/
powerpc: http://kisskb.ellerman.id.au/kisskb/buildresult/12449785/
parisc: http://kisskb.ellerman.id.au/kisskb/buildresult/12449940/
and possibly others I've missed.
Paul.
--
>
> 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.
>
> Geert also reported seeing this in his build coverage:
>
> There seems to be another missing dependency on OF_IRQ:
>
> drivers/built-in.o: In function `board_staging_gic_fixup_resources':
> (.init.text+0x21c2): undefined reference to `irq_create_of_mapping'
>
> so we might as well fix that at the same time since it is
> on the same line.
>
> Cc: Magnus Damm <damm+renesas@opensource.se>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
> [v2: fold in Geert's OF_IRQ addition suggestion.]
>
> 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..3f287c48e082 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 && OF_IRQ && CLKDEV_LOOKUP
> help
> Select to enable per-board staging support code.
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Magnus Damm <damm+renesas@opensource.se>,
Simon Horman <horms+renesas@verge.net.au>,
Geert Uytterhoeven <geert+renesas@glider.be>,
"linux-next@vger.kernel.org" <linux-next@vger.kernel.org>
Subject: Re: [PATCH v2] staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP
Date: Thu, 25 Jun 2015 10:13:22 -0400 [thread overview]
Message-ID: <558C0C82.3080709@windriver.com> (raw)
In-Reply-To: <1434842903-24708-1-git-send-email-paul.gortmaker@windriver.com>
On 15-06-20 07:28 PM, Paul Gortmaker wrote:
> 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
Just checking this didn't fall through the cracks, as its absence
causes several arch breakage on linux-next for several days now:
(.init.text+0xf968): undefined reference to `clk_add_alias'
x86: http://kisskb.ellerman.id.au/kisskb/buildresult/12448913/
powerpc: http://kisskb.ellerman.id.au/kisskb/buildresult/12449785/
parisc: http://kisskb.ellerman.id.au/kisskb/buildresult/12449940/
and possibly others I've missed.
Paul.
--
>
> 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.
>
> Geert also reported seeing this in his build coverage:
>
> There seems to be another missing dependency on OF_IRQ:
>
> drivers/built-in.o: In function `board_staging_gic_fixup_resources':
> (.init.text+0x21c2): undefined reference to `irq_create_of_mapping'
>
> so we might as well fix that at the same time since it is
> on the same line.
>
> Cc: Magnus Damm <damm+renesas@opensource.se>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
> [v2: fold in Geert's OF_IRQ addition suggestion.]
>
> 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..3f287c48e082 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 && OF_IRQ && CLKDEV_LOOKUP
> help
> Select to enable per-board staging support code.
>
>
next prev parent reply other threads:[~2015-06-25 14:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-06-25 14:13 ` Paul Gortmaker
2015-07-02 13:54 ` Guenter Roeck
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=558C0C82.3080709@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=damm+renesas@opensource.se \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=horms+renesas@verge.net.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.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 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.