Commit a1b3a6ce authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Mauro Carvalho Chehab

[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: default avatarLad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: default avatarManjunath Hadli <manjunath.hadli@ti.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 15112886
...@@ -965,7 +965,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { ...@@ -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); void (*setup_pinmux)(void);
struct resource *res; struct resource *res;
...@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev) ...@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
return 0; return 0;
} }
static __refdata struct platform_driver dm355_ccdc_driver = { static struct platform_driver dm355_ccdc_driver = {
.driver = { .driver = {
.name = "dm355_ccdc", .name = "dm355_ccdc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -957,7 +957,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { ...@@ -957,7 +957,7 @@ static struct ccdc_hw_device ccdc_hw_dev = {
}, },
}; };
static int __init dm644x_ccdc_probe(struct platform_device *pdev) static int __devinit dm644x_ccdc_probe(struct platform_device *pdev)
{ {
struct resource *res; struct resource *res;
int status = 0; int status = 0;
...@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = { ...@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
.resume = dm644x_ccdc_resume, .resume = dm644x_ccdc_resume,
}; };
static __refdata struct platform_driver dm644x_ccdc_driver = { static struct platform_driver dm644x_ccdc_driver = {
.driver = { .driver = {
.name = "dm644x_ccdc", .name = "dm644x_ccdc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -1032,7 +1032,7 @@ static struct ccdc_hw_device isif_hw_dev = { ...@@ -1032,7 +1032,7 @@ static struct ccdc_hw_device isif_hw_dev = {
}, },
}; };
static int __init isif_probe(struct platform_device *pdev) static int __devinit isif_probe(struct platform_device *pdev)
{ {
void (*setup_pinmux)(void); void (*setup_pinmux)(void);
struct resource *res; struct resource *res;
...@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev) ...@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
return 0; return 0;
} }
static __refdata struct platform_driver isif_driver = { static struct platform_driver isif_driver = {
.driver = { .driver = {
.name = "isif", .name = "isif",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -1829,7 +1829,7 @@ static struct vpfe_device *vpfe_initialize(void) ...@@ -1829,7 +1829,7 @@ static struct vpfe_device *vpfe_initialize(void)
* itself to the V4L2 driver and initializes fields of each * itself to the V4L2 driver and initializes fields of each
* device objects * device objects
*/ */
static __init int vpfe_probe(struct platform_device *pdev) static __devinit int vpfe_probe(struct platform_device *pdev)
{ {
struct vpfe_subdev_info *sdinfo; struct vpfe_subdev_info *sdinfo;
struct vpfe_config *vpfe_cfg; struct vpfe_config *vpfe_cfg;
...@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = { ...@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
.resume = vpfe_resume, .resume = vpfe_resume,
}; };
static __refdata struct platform_driver vpfe_driver = { static struct platform_driver vpfe_driver = {
.driver = { .driver = {
.name = CAPTURE_DRV_NAME, .name = CAPTURE_DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -417,7 +417,7 @@ int vpif_channel_getfid(u8 channel_id) ...@@ -417,7 +417,7 @@ int vpif_channel_getfid(u8 channel_id)
} }
EXPORT_SYMBOL(vpif_channel_getfid); EXPORT_SYMBOL(vpif_channel_getfid);
static int __init vpif_probe(struct platform_device *pdev) static int __devinit vpif_probe(struct platform_device *pdev)
{ {
int status = 0; int status = 0;
...@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = { ...@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
#define vpif_pm_ops NULL #define vpif_pm_ops NULL
#endif #endif
static __refdata struct platform_driver vpif_driver = { static struct platform_driver vpif_driver = {
.driver = { .driver = {
.name = "vpif", .name = "vpif",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -357,7 +357,7 @@ void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) ...@@ -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); 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; struct resource *r1, *r2;
char *platform_name; char *platform_name;
...@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev) ...@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
return 0; return 0;
} }
static __refdata struct platform_driver vpss_driver = { static struct platform_driver vpss_driver = {
.driver = { .driver = {
.name = "vpss", .name = "vpss",
.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