All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-mtd@lists.infradead.org
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	martinez.javier@gmail.com, zonque@gmail.com,
	grant.likely@secretlab.ca, eballetbo@gmail.com,
	matthias.bgg@googlemail.com, jon-hunter@ti.com, b-cousson@ti.com,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: [PATCH 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sun, 23 Dec 2012 21:01:19 -0300	[thread overview]
Message-ID: <1356307280-8323-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1356307280-8323-1-git-send-email-ezequiel.garcia@free-electrons.com>

gpmc_onenand_init() will be called from another driver's probe() function,
so drop the __init annotation, in order to prevent section mismatches.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/mach-omap2/gpmc-onenand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/gpmc-onenand.c b/arch/arm/mach-omap2/gpmc-onenand.c
index 94a349e..fadd8743 100644
--- a/arch/arm/mach-omap2/gpmc-onenand.c
+++ b/arch/arm/mach-omap2/gpmc-onenand.c
@@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr)
 	return ret;
 }
 
-void __init gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
+void gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
 {
 	int err;
 
-- 
1.7.8.6


WARNING: multiple messages have this Message-ID (diff)
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: <linux-omap@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mtd@lists.infradead.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	martinez.javier@gmail.com, matthias.bgg@googlemail.com,
	eballetbo@gmail.com, zonque@gmail.com, grant.likely@secretlab.ca,
	jon-hunter@ti.com,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	b-cousson@ti.com
Subject: [PATCH 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sun, 23 Dec 2012 21:01:19 -0300	[thread overview]
Message-ID: <1356307280-8323-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1356307280-8323-1-git-send-email-ezequiel.garcia@free-electrons.com>

gpmc_onenand_init() will be called from another driver's probe() function,
so drop the __init annotation, in order to prevent section mismatches.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/mach-omap2/gpmc-onenand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/gpmc-onenand.c b/arch/arm/mach-omap2/gpmc-onenand.c
index 94a349e..fadd8743 100644
--- a/arch/arm/mach-omap2/gpmc-onenand.c
+++ b/arch/arm/mach-omap2/gpmc-onenand.c
@@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr)
 	return ret;
 }
 
-void __init gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
+void gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
 {
 	int err;
 
-- 
1.7.8.6

WARNING: multiple messages have this Message-ID (diff)
From: ezequiel.garcia@free-electrons.com (Ezequiel Garcia)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sun, 23 Dec 2012 21:01:19 -0300	[thread overview]
Message-ID: <1356307280-8323-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1356307280-8323-1-git-send-email-ezequiel.garcia@free-electrons.com>

gpmc_onenand_init() will be called from another driver's probe() function,
so drop the __init annotation, in order to prevent section mismatches.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/mach-omap2/gpmc-onenand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/gpmc-onenand.c b/arch/arm/mach-omap2/gpmc-onenand.c
index 94a349e..fadd8743 100644
--- a/arch/arm/mach-omap2/gpmc-onenand.c
+++ b/arch/arm/mach-omap2/gpmc-onenand.c
@@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr)
 	return ret;
 }
 
-void __init gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
+void gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
 {
 	int err;
 
-- 
1.7.8.6

  reply	other threads:[~2012-12-24  0:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  0:01 [PATCH 1/3] mtd: omap-onenand: pass device_node in platform data Ezequiel Garcia
2012-12-24  0:01 ` Ezequiel Garcia
2012-12-24  0:01 ` Ezequiel Garcia
2012-12-24  0:01 ` Ezequiel Garcia [this message]
2012-12-24  0:01   ` [PATCH 2/3] arm: omap2: gpmc-onenand: drop __init annotation Ezequiel Garcia
2012-12-24  0:01   ` Ezequiel Garcia
2012-12-24  0:01 ` [PATCH 3/3] arm: omap2: gpmc: add DT bindings for OneNAND Ezequiel Garcia
2012-12-24  0:01   ` Ezequiel Garcia
2012-12-24  0:01   ` Ezequiel Garcia
2012-12-24  0:50   ` Ezequiel Garcia
2012-12-24  0:50     ` Ezequiel Garcia
2012-12-24  0:50     ` Ezequiel Garcia
2013-01-15 22:48 ` [PATCH 1/3] mtd: omap-onenand: pass device_node in platform data Ezequiel Garcia
2013-01-15 22:48   ` Ezequiel Garcia
2013-01-15 22:48   ` Ezequiel Garcia
2013-01-17 11:47   ` Artem Bityutskiy
2013-01-17 11:47     ` Artem Bityutskiy
2013-01-17 11:47     ` Artem Bityutskiy

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=1356307280-8323-2-git-send-email-ezequiel.garcia@free-electrons.com \
    --to=ezequiel.garcia@free-electrons.com \
    --cc=b-cousson@ti.com \
    --cc=eballetbo@gmail.com \
    --cc=grant.likely@secretlab.ca \
    --cc=jon-hunter@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=martinez.javier@gmail.com \
    --cc=matthias.bgg@googlemail.com \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=zonque@gmail.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 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.