summaryrefslogtreecommitdiff
path: root/drivers/media/video/davinci/vpss.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.lad@ti.com>2012-08-14 01:23:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-14 08:45:49 -0300
commita1b3a6ce0f1510b14b18d019c4cda137585b1f69 (patch)
treeb701d8cb9d3b56dd49ab2612008cd8453e043b7c /drivers/media/video/davinci/vpss.c
parent1511288620bd4ea794bae08871f9e108ca034b2d (diff)
[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/vpss.c')
-rw-r--r--drivers/media/video/davinci/vpss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/davinci/vpss.c b/drivers/media/video/davinci/vpss.c
index 8f682d8255c0..146e4b01ac17 100644
--- a/drivers/media/video/davinci/vpss.c
+++ b/drivers/media/video/davinci/vpss.c
@@ -357,7 +357,7 @@ void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size)
}
EXPORT_SYMBOL(dm365_vpss_set_pg_frame_size);
-static int __init vpss_probe(struct platform_device *pdev)
+static int __devinit vpss_probe(struct platform_device *pdev)
{
struct resource *r1, *r2;
char *platform_name;
@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
return 0;
}
-static __refdata struct platform_driver vpss_driver = {
+static struct platform_driver vpss_driver = {
.driver = {
.name = "vpss",
.owner = THIS_MODULE,