From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mach-pcm037_eet: Fix section mismatch for eet_init_devices()
Date: Fri, 5 Nov 2010 15:00:44 +0100 [thread overview]
Message-ID: <20101105140044.GL16938@pengutronix.de> (raw)
In-Reply-To: <1288630803.4156.3.camel@realization>
On Mon, Nov 01, 2010 at 06:00:03PM +0100, Alberto Panizzo wrote:
> This function should be marked as __init because it is used only
> in the init phase.
>
> This fix the compiler warning:
> LD arch/arm/mach-mx3/built-in.o
> WARNING: arch/arm/mach-mx3/built-in.o(.text+0x1328): Section mismatch in reference from the function eet_init_devices() to the (unknown reference) .init.rodata:(unknown)
> The function eet_init_devices() references
> the (unknown reference) __initconst (unknown).
> This is often because eet_init_devices lacks a __initconst
> annotation or the annotation of (unknown) is wrong.
>
> Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Acked-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
prev parent reply other threads:[~2010-11-05 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 17:00 [PATCH] mach-pcm037_eet: Fix section mismatch for eet_init_devices() Alberto Panizzo
2010-11-05 14:00 ` Uwe Kleine-König [this message]
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=20101105140044.GL16938@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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 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).