From: Felipe Balbi <balbi@ti.com>
To: Venkatraman S <svenkatr@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>,
spi-devel-general@lists.sourceforge.net,
linux-omap@vger.kernel.org, balbi@ti.com
Subject: Re: [PATCH] spi: omap2-mcspi: fix section mismatch regression in probe
Date: Mon, 25 Jun 2012 12:47:17 +0300 [thread overview]
Message-ID: <20120625094716.GD6468@arwen.pp.htv.fi> (raw)
In-Reply-To: <1340099868-24290-1-git-send-email-svenkatr@ti.com>
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
On Tue, Jun 19, 2012 at 03:27:48PM +0530, Venkatraman S wrote:
> Commit 7d6b6d83(make it behave as a module) annotated probe with
> __devinit, but a referenced function was not.
>
> This introduced a section mismatch warning:
> WARNING: vmlinux.o(.devinit.text+0x3eec): Section mismatch in reference
> from the function omap2_mcspi_probe() to the function
> .init.text:omap2_mcspi_master_setup()
>
> Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
my apologies
> ---
> drivers/spi/spi-omap2-mcspi.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
> index 46ef5fe..1618e89 100644
> --- a/drivers/spi/spi-omap2-mcspi.c
> +++ b/drivers/spi/spi-omap2-mcspi.c
> @@ -1031,7 +1031,7 @@ static int omap2_mcspi_transfer_one_message(struct spi_master *master,
> return 0;
> }
>
> -static int __init omap2_mcspi_master_setup(struct omap2_mcspi *mcspi)
> +static int __devinit omap2_mcspi_master_setup(struct omap2_mcspi *mcspi)
> {
> struct spi_master *master = mcspi->master;
> struct omap2_mcspi_regs *ctx = &mcspi->ctx;
> --
> 1.7.0.4
>
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-06-25 9:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 9:57 [PATCH] spi: omap2-mcspi: fix section mismatch regression in probe Venkatraman S
2012-06-25 9:47 ` Felipe Balbi [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=20120625094716.GD6468@arwen.pp.htv.fi \
--to=balbi@ti.com \
--cc=grant.likely@secretlab.ca \
--cc=linux-omap@vger.kernel.org \
--cc=spi-devel-general@lists.sourceforge.net \
--cc=svenkatr@ti.com \
/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