]> Pileus Git - ~andy/linux/blobdiff - drivers/media/video/davinci/vpif.c
[media] media: davinci: fix section mismatch warnings
[~andy/linux] / drivers / media / video / davinci / vpif.c
index a058fed768efaeaaad35e7b1623f4ccb2d00f9f4..9bd3caa34a3e61ee3d535fe5126ae1d7c67783fb 100644 (file)
@@ -417,7 +417,7 @@ int vpif_channel_getfid(u8 channel_id)
 }
 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;
 
@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
 #define vpif_pm_ops NULL
 #endif
 
-static __refdata struct platform_driver vpif_driver = {
+static struct platform_driver vpif_driver = {
        .driver = {
                .name   = "vpif",
                .owner = THIS_MODULE,