aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/timblogiw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/timblogiw.c')
-rw-r--r--drivers/media/platform/timblogiw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/platform/timblogiw.c b/drivers/media/platform/timblogiw.c
index 02194c056b00..d854d08a6c7f 100644
--- a/drivers/media/platform/timblogiw.c
+++ b/drivers/media/platform/timblogiw.c
@@ -745,7 +745,7 @@ static int timblogiw_mmap(struct file *file, struct vm_area_struct *vma)
745 745
746/* Platform device functions */ 746/* Platform device functions */
747 747
748static __devinitconst struct v4l2_ioctl_ops timblogiw_ioctl_ops = { 748static struct v4l2_ioctl_ops timblogiw_ioctl_ops = {
749 .vidioc_querycap = timblogiw_querycap, 749 .vidioc_querycap = timblogiw_querycap,
750 .vidioc_enum_fmt_vid_cap = timblogiw_enum_fmt, 750 .vidioc_enum_fmt_vid_cap = timblogiw_enum_fmt,
751 .vidioc_g_fmt_vid_cap = timblogiw_g_fmt, 751 .vidioc_g_fmt_vid_cap = timblogiw_g_fmt,
@@ -767,7 +767,7 @@ static __devinitconst struct v4l2_ioctl_ops timblogiw_ioctl_ops = {
767 .vidioc_enum_framesizes = timblogiw_enum_framesizes, 767 .vidioc_enum_framesizes = timblogiw_enum_framesizes,
768}; 768};
769 769
770static __devinitconst struct v4l2_file_operations timblogiw_fops = { 770static struct v4l2_file_operations timblogiw_fops = {
771 .owner = THIS_MODULE, 771 .owner = THIS_MODULE,
772 .open = timblogiw_open, 772 .open = timblogiw_open,
773 .release = timblogiw_close, 773 .release = timblogiw_close,
@@ -777,7 +777,7 @@ static __devinitconst struct v4l2_file_operations timblogiw_fops = {
777 .poll = timblogiw_poll, 777 .poll = timblogiw_poll,
778}; 778};
779 779
780static __devinitconst struct video_device timblogiw_template = { 780static struct video_device timblogiw_template = {
781 .name = TIMBLOGIWIN_NAME, 781 .name = TIMBLOGIWIN_NAME,
782 .fops = &timblogiw_fops, 782 .fops = &timblogiw_fops,
783 .ioctl_ops = &timblogiw_ioctl_ops, 783 .ioctl_ops = &timblogiw_ioctl_ops,
@@ -786,7 +786,7 @@ static __devinitconst struct video_device timblogiw_template = {
786 .tvnorms = V4L2_STD_PAL | V4L2_STD_NTSC 786 .tvnorms = V4L2_STD_PAL | V4L2_STD_NTSC
787}; 787};
788 788
789static int __devinit timblogiw_probe(struct platform_device *pdev) 789static int timblogiw_probe(struct platform_device *pdev)
790{ 790{
791 int err; 791 int err;
792 struct timblogiw *lw = NULL; 792 struct timblogiw *lw = NULL;
@@ -848,7 +848,7 @@ err:
848 return err; 848 return err;
849} 849}
850 850
851static int __devexit timblogiw_remove(struct platform_device *pdev) 851static int timblogiw_remove(struct platform_device *pdev)
852{ 852{
853 struct timblogiw *lw = platform_get_drvdata(pdev); 853 struct timblogiw *lw = platform_get_drvdata(pdev);
854 854
@@ -869,7 +869,7 @@ static struct platform_driver timblogiw_platform_driver = {
869 .owner = THIS_MODULE, 869 .owner = THIS_MODULE,
870 }, 870 },
871 .probe = timblogiw_probe, 871 .probe = timblogiw_probe,
872 .remove = __devexit_p(timblogiw_remove), 872 .remove = timblogiw_remove,
873}; 873};
874 874
875module_platform_driver(timblogiw_platform_driver); 875module_platform_driver(timblogiw_platform_driver);