Commit 79c3a07d authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] omap3isp: Mark probe and cleanup functions with __devinit and __devexit

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b2da46e5
...@@ -1978,7 +1978,7 @@ static int isp_initialize_modules(struct isp_device *isp) ...@@ -1978,7 +1978,7 @@ static int isp_initialize_modules(struct isp_device *isp)
* *
* Always returns 0. * Always returns 0.
*/ */
static int isp_remove(struct platform_device *pdev) static int __devexit isp_remove(struct platform_device *pdev)
{ {
struct isp_device *isp = platform_get_drvdata(pdev); struct isp_device *isp = platform_get_drvdata(pdev);
int i; int i;
...@@ -2059,7 +2059,7 @@ static int isp_map_mem_resource(struct platform_device *pdev, ...@@ -2059,7 +2059,7 @@ static int isp_map_mem_resource(struct platform_device *pdev,
* -EINVAL if couldn't install ISR, * -EINVAL if couldn't install ISR,
* or clk_get return error value. * or clk_get return error value.
*/ */
static int isp_probe(struct platform_device *pdev) static int __devinit isp_probe(struct platform_device *pdev)
{ {
struct isp_platform_data *pdata = pdev->dev.platform_data; struct isp_platform_data *pdata = pdev->dev.platform_data;
struct isp_device *isp; struct isp_device *isp;
...@@ -2227,7 +2227,7 @@ MODULE_DEVICE_TABLE(platform, omap3isp_id_table); ...@@ -2227,7 +2227,7 @@ MODULE_DEVICE_TABLE(platform, omap3isp_id_table);
static struct platform_driver omap3isp_driver = { static struct platform_driver omap3isp_driver = {
.probe = isp_probe, .probe = isp_probe,
.remove = isp_remove, .remove = __devexit_p(isp_remove),
.id_table = omap3isp_id_table, .id_table = omap3isp_id_table,
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment