aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2009-11-24 22:07:10 +0100
committerBen Dooks <[email protected]>2009-12-08 00:45:55 +0000
commitad4e22fa4762516eef0e3f19a13a86e13fba71e8 (patch)
tree7d5029ce3a237ce5804fb0f23ec5d8d86ddfdb2c
parent88d27041cf4d36e499e2c54b6c44d9115ccf124a (diff)
ARM: S3C: move s3c_adc_remove to .devexit.text
The function s3c_adc_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Cc: Russell King <[email protected]> Acked-By: Ben Dooks <[email protected]> Cc: Ramax Lo <[email protected]> Cc: Nelson Castillo <[email protected]> Cc: [email protected] Cc: Ben Dooks <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Ryan Mallon <[email protected]> Cc: [email protected] Signed-off-by: Ben Dooks <[email protected]>
-rw-r--r--arch/arm/plat-s3c24xx/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c
index df47322492d5..ce47627f3368 100644
--- a/arch/arm/plat-s3c24xx/adc.c
+++ b/arch/arm/plat-s3c24xx/adc.c
@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
return ret;
}
-static int s3c_adc_remove(struct platform_device *pdev)
+static int __devexit s3c_adc_remove(struct platform_device *pdev)
{
struct adc_device *adc = platform_get_drvdata(pdev);