From: Mats Randgaard Date: Mon, 30 Aug 2010 13:30:36 +0000 (-0300) Subject: V4L/DVB: vpif_cap/disp: Removed section mismatch warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ffa1b391c61b9f9a2b5d14859bfdd9259fc6c4da;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB: vpif_cap/disp: Removed section mismatch warning Signed-off-by: Mats Randgaard Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/davinci/vpif_capture.c b/drivers/media/video/davinci/vpif_capture.c index 2b424731f133..9ba7ace33d4a 100644 --- a/drivers/media/video/davinci/vpif_capture.c +++ b/drivers/media/video/davinci/vpif_capture.c @@ -2114,7 +2114,7 @@ static const struct dev_pm_ops vpif_dev_pm_ops = { .resume = vpif_resume, }; -static struct platform_driver vpif_driver = { +static __refdata struct platform_driver vpif_driver = { .driver = { .name = "vpif_capture", .owner = THIS_MODULE, diff --git a/drivers/media/video/davinci/vpif_display.c b/drivers/media/video/davinci/vpif_display.c index 4770fda3a199..a41f188535b3 100644 --- a/drivers/media/video/davinci/vpif_display.c +++ b/drivers/media/video/davinci/vpif_display.c @@ -1611,7 +1611,7 @@ static int vpif_remove(struct platform_device *device) return 0; } -static struct platform_driver vpif_driver = { +static __refdata struct platform_driver vpif_driver = { .driver = { .name = "vpif_display", .owner = THIS_MODULE,