summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/davinci/dm355_ccdc.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.lad@ti.com>2012-08-14 06:23:09 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-14 13:45:49 +0200
commita1b3a6ce0f1510b14b18d019c4cda137585b1f69 (patch)
treeb701d8cb9d3b56dd49ab2612008cd8453e043b7c /drivers/media/video/davinci/dm355_ccdc.c
parentioctl-number.txt: Remove legacy private ioctl's from media drivers (diff)
downloadlinux-a1b3a6ce0f1510b14b18d019c4cda137585b1f69.tar.xz
linux-a1b3a6ce0f1510b14b18d019c4cda137585b1f69.zip
[media] media: davinci: fix section mismatch warnings
This patch fixes section mismatch warnings for davinci video drivers. [mchehab@redhat.com: applied it as a fixup over the previous (and wrong) changeset c6afbf2] Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/davinci/dm355_ccdc.c')
-rw-r--r--drivers/media/video/davinci/dm355_ccdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/davinci/dm355_ccdc.c b/drivers/media/video/davinci/dm355_ccdc.c
index 2eb7dbd6dbac..ce0e4131c067 100644
--- a/drivers/media/video/davinci/dm355_ccdc.c
+++ b/drivers/media/video/davinci/dm355_ccdc.c
@@ -965,7 +965,7 @@ static struct ccdc_hw_device ccdc_hw_dev = {
},
};
-static int __init dm355_ccdc_probe(struct platform_device *pdev)
+static int __devinit dm355_ccdc_probe(struct platform_device *pdev)
{
void (*setup_pinmux)(void);
struct resource *res;
@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
return 0;
}
-static __refdata struct platform_driver dm355_ccdc_driver = {
+static struct platform_driver dm355_ccdc_driver = {
.driver = {
.name = "dm355_ccdc",
.owner = THIS_MODULE,