Skip to content

Commit

Permalink
ARM: S3C: move s3c_pwm_remove to .devexit.text
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and Ben Dooks committed Dec 8, 2009
1 parent 0f13c82 commit 93b0d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-s3c/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 93b0d8c

Please sign in to comment.