rtc: don't use __exit_p to wrap ds1302_rtc_remove

The function ds1302_rtc_remove is defined using __devexit, so don't use
__exit_p but __devexit_p to wrap it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Uwe Kleine-König 2009-11-24 22:07:23 +01:00 committed by Paul Mundt
parent 0f09e197a3
commit b9e05c64a0
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static struct platform_driver ds1302_platform_driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
},
.remove = __exit_p(ds1302_rtc_remove),
.remove = __devexit_p(ds1302_rtc_remove),
};
static int __init ds1302_rtc_init(void)