aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-11-24 16:07:11 -0500
committerBen Dooks <ben-linux@fluff.org>2009-12-07 19:45:55 -0500
commit93b0d8c6b67b7d337509a36dbfcdb6d6eac1ef12 (patch)
treee28e4d9b3a4599191626edfcf75f225e5527dc11 /arch
parent0f13c8248040d6901cfcc542e9de165bb0916525 (diff)
ARM: S3C: move s3c_pwm_remove to .devexit.text
The function s3c_pwm_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Peter Korsgaard <jacmet@sunsite.dk> Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-s3c/pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/pwm.c b/arch/arm/plat-s3c/pwm.c
index 4fdc5b307fd2..ef019f27b67d 100644
--- a/arch/arm/plat-s3c/pwm.c
+++ b/arch/arm/plat-s3c/pwm.c
@@ -368,7 +368,7 @@ static int s3c_pwm_probe(struct platform_device *pdev)
368 return ret; 368 return ret;
369} 369}
370 370
371static int s3c_pwm_remove(struct platform_device *pdev) 371static int __devexit s3c_pwm_remove(struct platform_device *pdev)
372{ 372{
373 struct pwm_device *pwm = platform_get_drvdata(pdev); 373 struct pwm_device *pwm = platform_get_drvdata(pdev);
374 374