public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Subject: [PATCH] w1: mxc_w1: move probe and remove to the dev* text area.
@ 2010-02-12 17:47 Alberto Panizzo
  0 siblings, 0 replies; 3+ messages in thread
From: Alberto Panizzo @ 2010-02-12 17:47 UTC (permalink / raw)
  To: Evgeniy Polyakov; +Cc: Sascha linux-arm, linux-kernel


This fixes the section mismatch warning for mxc_w1_probe()
---
 drivers/w1/masters/mxc_w1.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
index 65244c0..4926703 100644
--- a/drivers/w1/masters/mxc_w1.c
+++ b/drivers/w1/masters/mxc_w1.c
@@ -102,7 +102,7 @@ static u8 mxc_w1_ds2_touch_bit(void *data, u8 bit)
 	return ((__raw_readb(ctrl_addr)) >> 3) & 0x1;
 }
 
-static int __init mxc_w1_probe(struct platform_device *pdev)
+static int __devinit mxc_w1_probe(struct platform_device *pdev)
 {
 	struct mxc_w1_device *mdev;
 	struct resource *res;
@@ -166,7 +166,7 @@ failed_clk:
 /*
  * disassociate the w1 device from the driver
  */
-static int mxc_w1_remove(struct platform_device *pdev)
+static int __devexit mxc_w1_remove(struct platform_device *pdev)
 {
 	struct mxc_w1_device *mdev = platform_get_drvdata(pdev);
 	struct resource *res;
-- 
1.6.3.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Subject: [PATCH] w1: mxc_w1: move probe and remove to the dev* text area.
@ 2010-02-15 18:49 Alberto Panizzo
  2010-02-15 19:31 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Alberto Panizzo @ 2010-02-15 18:49 UTC (permalink / raw)
  To: Evgeniy Polyakov
  Cc: Sascha linux-arm, linux-kernel, Andrew Morton,
	Uwe Kleine-König, Russell King - ARM Linux, Greg KH

This fixes the section mismatch warning for mxc_w1_probe()
---

This patch apply to linus 2.6.33-rc8 tree.
I think that could be marked for stable releases.

 drivers/w1/masters/mxc_w1.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
index 65244c0..4926703 100644
--- a/drivers/w1/masters/mxc_w1.c
+++ b/drivers/w1/masters/mxc_w1.c
@@ -102,7 +102,7 @@ static u8 mxc_w1_ds2_touch_bit(void *data, u8 bit)
 	return ((__raw_readb(ctrl_addr)) >> 3) & 0x1;
 }
 
-static int __init mxc_w1_probe(struct platform_device *pdev)
+static int __devinit mxc_w1_probe(struct platform_device *pdev)
 {
 	struct mxc_w1_device *mdev;
 	struct resource *res;
@@ -166,7 +166,7 @@ failed_clk:
 /*
  * disassociate the w1 device from the driver
  */
-static int mxc_w1_remove(struct platform_device *pdev)
+static int __devexit mxc_w1_remove(struct platform_device *pdev)
 {
 	struct mxc_w1_device *mdev = platform_get_drvdata(pdev);
 	struct resource *res;
-- 
1.6.3.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Subject: [PATCH] w1: mxc_w1: move probe and remove to the dev* text area.
  2010-02-15 18:49 Subject: [PATCH] w1: mxc_w1: move probe and remove to the dev* text area Alberto Panizzo
@ 2010-02-15 19:31 ` Uwe Kleine-König
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2010-02-15 19:31 UTC (permalink / raw)
  To: Alberto Panizzo
  Cc: Evgeniy Polyakov, Sascha linux-arm, linux-kernel, Andrew Morton,
	Russell King - ARM Linux, Greg KH

Hello Albert,

On Mon, Feb 15, 2010 at 07:49:01PM +0100, Alberto Panizzo wrote:
> This fixes the section mismatch warning for mxc_w1_probe()
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

> ---
> 
> This patch apply to linus 2.6.33-rc8 tree.
> I think that could be marked for stable releases.
hmmm, if you'd know how much effort I spend to get patches like these in
...  Obviously letting modpost warn about those helps me getting
supporters :-)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-15 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 18:49 Subject: [PATCH] w1: mxc_w1: move probe and remove to the dev* text area Alberto Panizzo
2010-02-15 19:31 ` Uwe Kleine-König
  -- strict thread matches above, loose matches on Subject: below --
2010-02-12 17:47 Alberto Panizzo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox