aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-04-22 11:26:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-08 13:11:59 -0400
commit79c3a07ddae6155bf30908c413fcef678510f59e (patch)
tree61c81af8cdf3d4f9f62e89e414a0f0025e93254a /drivers/media/video/omap3isp
parentb2da46e52fe7871cba36e1a435844502c0eccf39 (diff)
[media] omap3isp: Mark probe and cleanup functions with __devinit and __devexit
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp')
-rw-r--r--drivers/media/video/omap3isp/isp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/omap3isp/isp.c b/drivers/media/video/omap3isp/isp.c
index df6416c706fd..0307ac39e440 100644
--- a/drivers/media/video/omap3isp/isp.c
+++ b/drivers/media/video/omap3isp/isp.c
@@ -1978,7 +1978,7 @@ error_csiphy:
1978 * 1978 *
1979 * Always returns 0. 1979 * Always returns 0.
1980 */ 1980 */
1981static int isp_remove(struct platform_device *pdev) 1981static int __devexit isp_remove(struct platform_device *pdev)
1982{ 1982{
1983 struct isp_device *isp = platform_get_drvdata(pdev); 1983 struct isp_device *isp = platform_get_drvdata(pdev);
1984 int i; 1984 int i;
@@ -2059,7 +2059,7 @@ static int isp_map_mem_resource(struct platform_device *pdev,
2059 * -EINVAL if couldn't install ISR, 2059 * -EINVAL if couldn't install ISR,
2060 * or clk_get return error value. 2060 * or clk_get return error value.
2061 */ 2061 */
2062static int isp_probe(struct platform_device *pdev) 2062static int __devinit isp_probe(struct platform_device *pdev)
2063{ 2063{
2064 struct isp_platform_data *pdata = pdev->dev.platform_data; 2064 struct isp_platform_data *pdata = pdev->dev.platform_data;
2065 struct isp_device *isp; 2065 struct isp_device *isp;
@@ -2227,7 +2227,7 @@ MODULE_DEVICE_TABLE(platform, omap3isp_id_table);
2227 2227
2228static struct platform_driver omap3isp_driver = { 2228static struct platform_driver omap3isp_driver = {
2229 .probe = isp_probe, 2229 .probe = isp_probe,
2230 .remove = isp_remove, 2230 .remove = __devexit_p(isp_remove),
2231 .id_table = omap3isp_id_table, 2231 .id_table = omap3isp_id_table,
2232 .driver = { 2232 .driver = {
2233 .owner = THIS_MODULE, 2233 .owner = THIS_MODULE,