media: radio: make video_device const
[sfrench/cifs-2.6.git] / drivers / media / radio / wl128x / fmdrv_v4l2.c
index 71423f45c05c2f2c9eb966f7e1dab03ff5c01df5..fc5a7abc83d233849bfead5adb70a13b7415a998 100644 (file)
@@ -509,7 +509,7 @@ static const struct v4l2_ioctl_ops fm_drv_ioctl_ops = {
 };
 
 /* V4L2 RADIO device parent structure */
-static struct video_device fm_viddev_template = {
+static const struct video_device fm_viddev_template = {
        .fops = &fm_drv_fops,
        .ioctl_ops = &fm_drv_ioctl_ops,
        .name = FM_DRV_NAME,