ARM: S3C: move s3c_pwm_remove to .devexit.text
authorUwe Kleine-König <[email protected]>
Tue, 24 Nov 2009 21:07:11 +0000 (22:07 +0100)
committerBen Dooks <[email protected]>
Tue, 8 Dec 2009 00:45:55 +0000 (00:45 +0000)
The function s3c_pwm_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]>
Cc: Ben Dooks <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ben Dooks <[email protected]>
arch/arm/plat-s3c/pwm.c

index 4fdc5b307fd2f95cb3a0ae1152030b22588bc079..ef019f27b67d5822afc8c3e4fbdac17220eebbd6 100644 (file)
@@ -368,7 +368,7 @@ static int s3c_pwm_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int s3c_pwm_remove(struct platform_device *pdev)
+static int __devexit s3c_pwm_remove(struct platform_device *pdev)
 {
        struct pwm_device *pwm = platform_get_drvdata(pdev);