All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-mtd@lists.infradead.org,
	devicetree-discuss@lists.ozlabs.org,
	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,
	tony@atomide.com, Ezequiel Garcia <elezegarcia@gmail.com>,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: [PATCH v2 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sat, 19 Jan 2013 19:27:56 -0300	[thread overview]
Message-ID: <1358634477-25868-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1358634477-25868-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
Cc: thomas.petazzoni@free-electrons.com, martinez.javier@gmail.com,
	Ezequiel Garcia <elezegarcia@gmail.com>,
	matthias.bgg@googlemail.com, eballetbo@gmail.com,
	devicetree-discuss@lists.ozlabs.org, zonque@gmail.com,
	grant.likely@secretlab.ca, tony@atomide.com,
	linux-mtd@lists.infradead.org, jon-hunter@ti.com,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org, b-cousson@ti.com
Subject: [PATCH v2 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sat, 19 Jan 2013 19:27:56 -0300	[thread overview]
Message-ID: <1358634477-25868-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1358634477-25868-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 v2 2/3] arm: omap2: gpmc-onenand: drop __init annotation
Date: Sat, 19 Jan 2013 19:27:56 -0300	[thread overview]
Message-ID: <1358634477-25868-2-git-send-email-ezequiel.garcia@free-electrons.com> (raw)
In-Reply-To: <1358634477-25868-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:[~2013-01-19 22:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 22:27 [PATCH v2 1/3] mtd: omap-onenand: pass device_node in platform data Ezequiel Garcia
2013-01-19 22:27 ` Ezequiel Garcia
2013-01-19 22:27 ` Ezequiel Garcia
2013-01-19 22:27 ` Ezequiel Garcia [this message]
2013-01-19 22:27   ` [PATCH v2 2/3] arm: omap2: gpmc-onenand: drop __init annotation Ezequiel Garcia
2013-01-19 22:27   ` Ezequiel Garcia
2013-01-19 22:27 ` [PATCH v2 3/3] arm: omap2: gpmc: add DT bindings for OneNAND Ezequiel Garcia
2013-01-19 22:27   ` Ezequiel Garcia
2013-01-19 22:27   ` Ezequiel Garcia
2013-01-21 12:30   ` Mark Rutland
2013-01-21 12:30     ` Mark Rutland
2013-01-21 12:30     ` Mark Rutland
2013-01-21 16:57     ` Ezequiel Garcia
2013-01-21 16:57       ` Ezequiel Garcia
2013-01-21 16:57       ` Ezequiel Garcia
2013-01-21 18:33       ` Tony Lindgren
2013-01-21 18:33         ` Tony Lindgren
2013-01-21 18:33         ` Tony Lindgren
2013-01-22  1:32         ` Daniel Mack
2013-01-22  1:32           ` Daniel Mack
2013-01-22  1:32           ` Daniel Mack
2013-01-22 18:13           ` Ezequiel Garcia
2013-01-22 18:13             ` Ezequiel Garcia
2013-01-22 18:13             ` Ezequiel Garcia
2013-01-22 18:27             ` Tony Lindgren
2013-01-22 18:27               ` Tony Lindgren
2013-01-22 18:27               ` Tony Lindgren
2013-01-22 19:43               ` Ezequiel Garcia
2013-01-22 19:43                 ` Ezequiel Garcia
2013-01-22 19:43                 ` Ezequiel Garcia
2013-01-22 20:40                 ` Tony Lindgren
2013-01-22 20:40                   ` Tony Lindgren
2013-01-22 20:40                   ` Tony Lindgren

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=1358634477-25868-2-git-send-email-ezequiel.garcia@free-electrons.com \
    --to=ezequiel.garcia@free-electrons.com \
    --cc=b-cousson@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=eballetbo@gmail.com \
    --cc=elezegarcia@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=tony@atomide.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.