[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1331898704.3730.62.camel@sauron.fi.intel.com>
Date: Fri, 16 Mar 2012 13:51:44 +0200
From: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
To: Ryosuke Saito <raitosyo@...il.com>
Cc: dwmw2@...radead.org, robert.jarzmik@...e.fr, mikedunn@...sguy.com,
ivan.djelic@...rot.com, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] mtd: fix section mismatch for doc_probe_device
On Thu, 2012-03-15 at 19:19 +0900, Ryosuke Saito wrote:
> doc_probe_device() is only called from docg3_probe() which is in .init.text,
> so it must be in the same section to avoid a section mismatch warning.
>
> Signed-off-by: Ryosuke Saito <raitosyo@...il.com>
> ---
> drivers/mtd/devices/docg3.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
> index 25f688c..db9a4b7 100644
> --- a/drivers/mtd/devices/docg3.c
> +++ b/drivers/mtd/devices/docg3.c
> @@ -1846,8 +1846,8 @@ static void __init doc_set_driver_info(int
> chip_id, struct mtd_info *mtd)
The patch is line-wrapped and not applicable with git am :-(
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists