aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si470x/radio-si470x-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x-i2c.c')
-rw-r--r--drivers/media/radio/si470x/radio-si470x-i2c.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c
index 2d53b6a9409b..4816a6d501c6 100644
--- a/drivers/media/radio/si470x/radio-si470x-i2c.c
+++ b/drivers/media/radio/si470x/radio-si470x-i2c.c
@@ -173,7 +173,7 @@ int si470x_disconnect_check(struct si470x_device *radio)
173/* 173/*
174 * si470x_fops_open - file open 174 * si470x_fops_open - file open
175 */ 175 */
176static int si470x_fops_open(struct file *file) 176int si470x_fops_open(struct file *file)
177{ 177{
178 struct si470x_device *radio = video_drvdata(file); 178 struct si470x_device *radio = video_drvdata(file);
179 int retval = 0; 179 int retval = 0;
@@ -194,7 +194,7 @@ static int si470x_fops_open(struct file *file)
194/* 194/*
195 * si470x_fops_release - file release 195 * si470x_fops_release - file release
196 */ 196 */
197static int si470x_fops_release(struct file *file) 197int si470x_fops_release(struct file *file)
198{ 198{
199 struct si470x_device *radio = video_drvdata(file); 199 struct si470x_device *radio = video_drvdata(file);
200 int retval = 0; 200 int retval = 0;
@@ -215,17 +215,6 @@ static int si470x_fops_release(struct file *file)
215} 215}
216 216
217 217
218/*
219 * si470x_fops - file operations interface
220 */
221const struct v4l2_file_operations si470x_fops = {
222 .owner = THIS_MODULE,
223 .ioctl = video_ioctl2,
224 .open = si470x_fops_open,
225 .release = si470x_fops_release,
226};
227
228
229 218
230/************************************************************************** 219/**************************************************************************
231 * Video4Linux Interface 220 * Video4Linux Interface