diff options
Diffstat (limited to 'drivers/char')
37 files changed, 47 insertions, 5 deletions
diff --git a/drivers/char/apm-emulation.c b/drivers/char/apm-emulation.c index 033e1505fca9..5ffa6904ea6b 100644 --- a/drivers/char/apm-emulation.c +++ b/drivers/char/apm-emulation.c | |||
@@ -402,6 +402,7 @@ static const struct file_operations apm_bios_fops = { | |||
402 | .unlocked_ioctl = apm_ioctl, | 402 | .unlocked_ioctl = apm_ioctl, |
403 | .open = apm_open, | 403 | .open = apm_open, |
404 | .release = apm_release, | 404 | .release = apm_release, |
405 | .llseek = noop_llseek, | ||
405 | }; | 406 | }; |
406 | 407 | ||
407 | static struct miscdevice apm_device = { | 408 | static struct miscdevice apm_device = { |
diff --git a/drivers/char/bfin-otp.c b/drivers/char/bfin-otp.c index 836d4f0a876f..44660f1c4849 100644 --- a/drivers/char/bfin-otp.c +++ b/drivers/char/bfin-otp.c | |||
@@ -222,6 +222,7 @@ static const struct file_operations bfin_otp_fops = { | |||
222 | .unlocked_ioctl = bfin_otp_ioctl, | 222 | .unlocked_ioctl = bfin_otp_ioctl, |
223 | .read = bfin_otp_read, | 223 | .read = bfin_otp_read, |
224 | .write = bfin_otp_write, | 224 | .write = bfin_otp_write, |
225 | .llseek = default_llseek, | ||
225 | }; | 226 | }; |
226 | 227 | ||
227 | static struct miscdevice bfin_otp_misc_device = { | 228 | static struct miscdevice bfin_otp_misc_device = { |
diff --git a/drivers/char/briq_panel.c b/drivers/char/briq_panel.c index d5fa113afe37..f6718f05dad4 100644 --- a/drivers/char/briq_panel.c +++ b/drivers/char/briq_panel.c | |||
@@ -186,6 +186,7 @@ static const struct file_operations briq_panel_fops = { | |||
186 | .write = briq_panel_write, | 186 | .write = briq_panel_write, |
187 | .open = briq_panel_open, | 187 | .open = briq_panel_open, |
188 | .release = briq_panel_release, | 188 | .release = briq_panel_release, |
189 | .llseek = noop_llseek, | ||
189 | }; | 190 | }; |
190 | 191 | ||
191 | static struct miscdevice briq_panel_miscdev = { | 192 | static struct miscdevice briq_panel_miscdev = { |
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index 91917133ae0a..a4a6c2f044b5 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c | |||
@@ -155,6 +155,7 @@ static const struct file_operations bsr_fops = { | |||
155 | .owner = THIS_MODULE, | 155 | .owner = THIS_MODULE, |
156 | .mmap = bsr_mmap, | 156 | .mmap = bsr_mmap, |
157 | .open = bsr_open, | 157 | .open = bsr_open, |
158 | .llseek = noop_llseek, | ||
158 | }; | 159 | }; |
159 | 160 | ||
160 | static void bsr_cleanup_devs(void) | 161 | static void bsr_cleanup_devs(void) |
diff --git a/drivers/char/cs5535_gpio.c b/drivers/char/cs5535_gpio.c index 4d830dc482ef..0cf1e5fad9ab 100644 --- a/drivers/char/cs5535_gpio.c +++ b/drivers/char/cs5535_gpio.c | |||
@@ -169,7 +169,8 @@ static const struct file_operations cs5535_gpio_fops = { | |||
169 | .owner = THIS_MODULE, | 169 | .owner = THIS_MODULE, |
170 | .write = cs5535_gpio_write, | 170 | .write = cs5535_gpio_write, |
171 | .read = cs5535_gpio_read, | 171 | .read = cs5535_gpio_read, |
172 | .open = cs5535_gpio_open | 172 | .open = cs5535_gpio_open, |
173 | .llseek = no_llseek, | ||
173 | }; | 174 | }; |
174 | 175 | ||
175 | static int __init cs5535_gpio_init(void) | 176 | static int __init cs5535_gpio_init(void) |
diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c index 170693c93c73..4f7aa364167c 100644 --- a/drivers/char/ds1302.c +++ b/drivers/char/ds1302.c | |||
@@ -288,6 +288,7 @@ get_rtc_status(char *buf) | |||
288 | static const struct file_operations rtc_fops = { | 288 | static const struct file_operations rtc_fops = { |
289 | .owner = THIS_MODULE, | 289 | .owner = THIS_MODULE, |
290 | .unlocked_ioctl = rtc_ioctl, | 290 | .unlocked_ioctl = rtc_ioctl, |
291 | .llseek = noop_llseek, | ||
291 | }; | 292 | }; |
292 | 293 | ||
293 | /* Probe for the chip by writing something to its RAM and try reading it back. */ | 294 | /* Probe for the chip by writing something to its RAM and try reading it back. */ |
diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index dbee8688f75c..50462b63e51b 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c | |||
@@ -357,6 +357,7 @@ static const struct file_operations ds1620_fops = { | |||
357 | .open = ds1620_open, | 357 | .open = ds1620_open, |
358 | .read = ds1620_read, | 358 | .read = ds1620_read, |
359 | .unlocked_ioctl = ds1620_unlocked_ioctl, | 359 | .unlocked_ioctl = ds1620_unlocked_ioctl, |
360 | .llseek = no_llseek, | ||
360 | }; | 361 | }; |
361 | 362 | ||
362 | static struct miscdevice ds1620_miscdev = { | 363 | static struct miscdevice ds1620_miscdev = { |
diff --git a/drivers/char/dsp56k.c b/drivers/char/dsp56k.c index 8a1b28a10ef0..353be4707d92 100644 --- a/drivers/char/dsp56k.c +++ b/drivers/char/dsp56k.c | |||
@@ -482,6 +482,7 @@ static const struct file_operations dsp56k_fops = { | |||
482 | .unlocked_ioctl = dsp56k_ioctl, | 482 | .unlocked_ioctl = dsp56k_ioctl, |
483 | .open = dsp56k_open, | 483 | .open = dsp56k_open, |
484 | .release = dsp56k_release, | 484 | .release = dsp56k_release, |
485 | .llseek = noop_llseek, | ||
485 | }; | 486 | }; |
486 | 487 | ||
487 | 488 | ||
diff --git a/drivers/char/dtlk.c b/drivers/char/dtlk.c index e3859d4eaead..007eca3ed77c 100644 --- a/drivers/char/dtlk.c +++ b/drivers/char/dtlk.c | |||
@@ -105,6 +105,7 @@ static const struct file_operations dtlk_fops = | |||
105 | .unlocked_ioctl = dtlk_ioctl, | 105 | .unlocked_ioctl = dtlk_ioctl, |
106 | .open = dtlk_open, | 106 | .open = dtlk_open, |
107 | .release = dtlk_release, | 107 | .release = dtlk_release, |
108 | .llseek = no_llseek, | ||
108 | }; | 109 | }; |
109 | 110 | ||
110 | /* local prototypes */ | 111 | /* local prototypes */ |
diff --git a/drivers/char/genrtc.c b/drivers/char/genrtc.c index b6c2cc167c11..eaa0e4264e16 100644 --- a/drivers/char/genrtc.c +++ b/drivers/char/genrtc.c | |||
@@ -497,6 +497,7 @@ static const struct file_operations gen_rtc_fops = { | |||
497 | .unlocked_ioctl = gen_rtc_unlocked_ioctl, | 497 | .unlocked_ioctl = gen_rtc_unlocked_ioctl, |
498 | .open = gen_rtc_open, | 498 | .open = gen_rtc_open, |
499 | .release = gen_rtc_release, | 499 | .release = gen_rtc_release, |
500 | .llseek = noop_llseek, | ||
500 | }; | 501 | }; |
501 | 502 | ||
502 | static struct miscdevice rtc_gen_dev = | 503 | static struct miscdevice rtc_gen_dev = |
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 3d9c61e5acbf..788da05190cc 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c | |||
@@ -170,6 +170,7 @@ static const struct file_operations rng_chrdev_ops = { | |||
170 | .owner = THIS_MODULE, | 170 | .owner = THIS_MODULE, |
171 | .open = rng_dev_open, | 171 | .open = rng_dev_open, |
172 | .read = rng_dev_read, | 172 | .read = rng_dev_read, |
173 | .llseek = noop_llseek, | ||
173 | }; | 174 | }; |
174 | 175 | ||
175 | static struct miscdevice rng_miscdev = { | 176 | static struct miscdevice rng_miscdev = { |
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index d4b71e8d0d23..2e49e515d8e7 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
@@ -236,6 +236,7 @@ static const struct file_operations ip2_ipl = { | |||
236 | .write = ip2_ipl_write, | 236 | .write = ip2_ipl_write, |
237 | .unlocked_ioctl = ip2_ipl_ioctl, | 237 | .unlocked_ioctl = ip2_ipl_ioctl, |
238 | .open = ip2_ipl_open, | 238 | .open = ip2_ipl_open, |
239 | .llseek = noop_llseek, | ||
239 | }; | 240 | }; |
240 | 241 | ||
241 | static unsigned long irq_counter; | 242 | static unsigned long irq_counter; |
diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index d8ec92a38980..c6709d6b0fd0 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c | |||
@@ -850,6 +850,7 @@ static const struct file_operations ipmi_fops = { | |||
850 | .release = ipmi_release, | 850 | .release = ipmi_release, |
851 | .fasync = ipmi_fasync, | 851 | .fasync = ipmi_fasync, |
852 | .poll = ipmi_poll, | 852 | .poll = ipmi_poll, |
853 | .llseek = noop_llseek, | ||
853 | }; | 854 | }; |
854 | 855 | ||
855 | #define DEVICE_NAME "ipmidev" | 856 | #define DEVICE_NAME "ipmidev" |
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 654d566ca57c..da041f88f64a 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c | |||
@@ -909,6 +909,7 @@ static const struct file_operations ipmi_wdog_fops = { | |||
909 | .open = ipmi_open, | 909 | .open = ipmi_open, |
910 | .release = ipmi_close, | 910 | .release = ipmi_close, |
911 | .fasync = ipmi_fasync, | 911 | .fasync = ipmi_fasync, |
912 | .llseek = no_llseek, | ||
912 | }; | 913 | }; |
913 | 914 | ||
914 | static struct miscdevice ipmi_wdog_miscdev = { | 915 | static struct miscdevice ipmi_wdog_miscdev = { |
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index be28391adb79..667abd23ad6a 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c | |||
@@ -704,6 +704,7 @@ static const struct file_operations stli_fsiomem = { | |||
704 | .read = stli_memread, | 704 | .read = stli_memread, |
705 | .write = stli_memwrite, | 705 | .write = stli_memwrite, |
706 | .unlocked_ioctl = stli_memioctl, | 706 | .unlocked_ioctl = stli_memioctl, |
707 | .llseek = default_llseek, | ||
707 | }; | 708 | }; |
708 | 709 | ||
709 | /*****************************************************************************/ | 710 | /*****************************************************************************/ |
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 938a3a273886..d2344117eaf5 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c | |||
@@ -748,6 +748,7 @@ static const struct file_operations lp_fops = { | |||
748 | #ifdef CONFIG_PARPORT_1284 | 748 | #ifdef CONFIG_PARPORT_1284 |
749 | .read = lp_read, | 749 | .read = lp_read, |
750 | #endif | 750 | #endif |
751 | .llseek = noop_llseek, | ||
751 | }; | 752 | }; |
752 | 753 | ||
753 | /* --- support for console on the line printer ----------------- */ | 754 | /* --- support for console on the line printer ----------------- */ |
diff --git a/drivers/char/mem.c b/drivers/char/mem.c index a398ecdbd758..8ebd232132fd 100644 --- a/drivers/char/mem.c +++ b/drivers/char/mem.c | |||
@@ -804,6 +804,7 @@ static const struct file_operations full_fops = { | |||
804 | static const struct file_operations oldmem_fops = { | 804 | static const struct file_operations oldmem_fops = { |
805 | .read = read_oldmem, | 805 | .read = read_oldmem, |
806 | .open = open_oldmem, | 806 | .open = open_oldmem, |
807 | .llseek = default_llseek, | ||
807 | }; | 808 | }; |
808 | #endif | 809 | #endif |
809 | 810 | ||
@@ -830,6 +831,7 @@ static ssize_t kmsg_write(struct file *file, const char __user *buf, | |||
830 | 831 | ||
831 | static const struct file_operations kmsg_fops = { | 832 | static const struct file_operations kmsg_fops = { |
832 | .write = kmsg_write, | 833 | .write = kmsg_write, |
834 | .llseek = noop_llseek, | ||
833 | }; | 835 | }; |
834 | 836 | ||
835 | static const struct memdev { | 837 | static const struct memdev { |
@@ -881,6 +883,7 @@ static int memory_open(struct inode *inode, struct file *filp) | |||
881 | 883 | ||
882 | static const struct file_operations memory_fops = { | 884 | static const struct file_operations memory_fops = { |
883 | .open = memory_open, | 885 | .open = memory_open, |
886 | .llseek = noop_llseek, | ||
884 | }; | 887 | }; |
885 | 888 | ||
886 | static char *mem_devnode(struct device *dev, mode_t *mode) | 889 | static char *mem_devnode(struct device *dev, mode_t *mode) |
diff --git a/drivers/char/misc.c b/drivers/char/misc.c index abdafd488980..778273c93242 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c | |||
@@ -162,6 +162,7 @@ static struct class *misc_class; | |||
162 | static const struct file_operations misc_fops = { | 162 | static const struct file_operations misc_fops = { |
163 | .owner = THIS_MODULE, | 163 | .owner = THIS_MODULE, |
164 | .open = misc_open, | 164 | .open = misc_open, |
165 | .llseek = noop_llseek, | ||
165 | }; | 166 | }; |
166 | 167 | ||
167 | /** | 168 | /** |
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index ea7c99fa978f..1c4070ced066 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -72,6 +72,7 @@ static const struct file_operations mmtimer_fops = { | |||
72 | .owner = THIS_MODULE, | 72 | .owner = THIS_MODULE, |
73 | .mmap = mmtimer_mmap, | 73 | .mmap = mmtimer_mmap, |
74 | .unlocked_ioctl = mmtimer_ioctl, | 74 | .unlocked_ioctl = mmtimer_ioctl, |
75 | .llseek = noop_llseek, | ||
75 | }; | 76 | }; |
76 | 77 | ||
77 | /* | 78 | /* |
diff --git a/drivers/char/mspec.c b/drivers/char/mspec.c index ecb89d798e35..966a95bc974b 100644 --- a/drivers/char/mspec.c +++ b/drivers/char/mspec.c | |||
@@ -316,7 +316,8 @@ uncached_mmap(struct file *file, struct vm_area_struct *vma) | |||
316 | 316 | ||
317 | static const struct file_operations fetchop_fops = { | 317 | static const struct file_operations fetchop_fops = { |
318 | .owner = THIS_MODULE, | 318 | .owner = THIS_MODULE, |
319 | .mmap = fetchop_mmap | 319 | .mmap = fetchop_mmap, |
320 | .llseek = noop_llseek, | ||
320 | }; | 321 | }; |
321 | 322 | ||
322 | static struct miscdevice fetchop_miscdev = { | 323 | static struct miscdevice fetchop_miscdev = { |
@@ -327,7 +328,8 @@ static struct miscdevice fetchop_miscdev = { | |||
327 | 328 | ||
328 | static const struct file_operations cached_fops = { | 329 | static const struct file_operations cached_fops = { |
329 | .owner = THIS_MODULE, | 330 | .owner = THIS_MODULE, |
330 | .mmap = cached_mmap | 331 | .mmap = cached_mmap, |
332 | .llseek = noop_llseek, | ||
331 | }; | 333 | }; |
332 | 334 | ||
333 | static struct miscdevice cached_miscdev = { | 335 | static struct miscdevice cached_miscdev = { |
@@ -338,7 +340,8 @@ static struct miscdevice cached_miscdev = { | |||
338 | 340 | ||
339 | static const struct file_operations uncached_fops = { | 341 | static const struct file_operations uncached_fops = { |
340 | .owner = THIS_MODULE, | 342 | .owner = THIS_MODULE, |
341 | .mmap = uncached_mmap | 343 | .mmap = uncached_mmap, |
344 | .llseek = noop_llseek, | ||
342 | }; | 345 | }; |
343 | 346 | ||
344 | static struct miscdevice uncached_miscdev = { | 347 | static struct miscdevice uncached_miscdev = { |
diff --git a/drivers/char/mwave/mwavedd.c b/drivers/char/mwave/mwavedd.c index a4ec50c95072..0464822eac53 100644 --- a/drivers/char/mwave/mwavedd.c +++ b/drivers/char/mwave/mwavedd.c | |||
@@ -479,7 +479,8 @@ static const struct file_operations mwave_fops = { | |||
479 | .write = mwave_write, | 479 | .write = mwave_write, |
480 | .unlocked_ioctl = mwave_ioctl, | 480 | .unlocked_ioctl = mwave_ioctl, |
481 | .open = mwave_open, | 481 | .open = mwave_open, |
482 | .release = mwave_close | 482 | .release = mwave_close, |
483 | .llseek = default_llseek, | ||
483 | }; | 484 | }; |
484 | 485 | ||
485 | 486 | ||
diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c index 2604246501e4..8994ce32e6c7 100644 --- a/drivers/char/nwbutton.c +++ b/drivers/char/nwbutton.c | |||
@@ -182,6 +182,7 @@ static int button_read (struct file *filp, char __user *buffer, | |||
182 | static const struct file_operations button_fops = { | 182 | static const struct file_operations button_fops = { |
183 | .owner = THIS_MODULE, | 183 | .owner = THIS_MODULE, |
184 | .read = button_read, | 184 | .read = button_read, |
185 | .llseek = noop_llseek, | ||
185 | }; | 186 | }; |
186 | 187 | ||
187 | /* | 188 | /* |
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c index 8ecbcc174c15..b304ec052501 100644 --- a/drivers/char/pc8736x_gpio.c +++ b/drivers/char/pc8736x_gpio.c | |||
@@ -234,6 +234,7 @@ static const struct file_operations pc8736x_gpio_fileops = { | |||
234 | .open = pc8736x_gpio_open, | 234 | .open = pc8736x_gpio_open, |
235 | .write = nsc_gpio_write, | 235 | .write = nsc_gpio_write, |
236 | .read = nsc_gpio_read, | 236 | .read = nsc_gpio_read, |
237 | .llseek = no_llseek, | ||
237 | }; | 238 | }; |
238 | 239 | ||
239 | static void __init pc8736x_init_shadow(void) | 240 | static void __init pc8736x_init_shadow(void) |
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c index ec73d9f6d9ed..c99f6997e5e7 100644 --- a/drivers/char/pcmcia/cm4000_cs.c +++ b/drivers/char/pcmcia/cm4000_cs.c | |||
@@ -1880,6 +1880,7 @@ static const struct file_operations cm4000_fops = { | |||
1880 | .unlocked_ioctl = cmm_ioctl, | 1880 | .unlocked_ioctl = cmm_ioctl, |
1881 | .open = cmm_open, | 1881 | .open = cmm_open, |
1882 | .release= cmm_close, | 1882 | .release= cmm_close, |
1883 | .llseek = no_llseek, | ||
1883 | }; | 1884 | }; |
1884 | 1885 | ||
1885 | static struct pcmcia_device_id cm4000_ids[] = { | 1886 | static struct pcmcia_device_id cm4000_ids[] = { |
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index 815cde1d0570..9ecc58baa8f3 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c | |||
@@ -650,6 +650,7 @@ static const struct file_operations reader_fops = { | |||
650 | .open = cm4040_open, | 650 | .open = cm4040_open, |
651 | .release = cm4040_close, | 651 | .release = cm4040_close, |
652 | .poll = cm4040_poll, | 652 | .poll = cm4040_poll, |
653 | .llseek = no_llseek, | ||
653 | }; | 654 | }; |
654 | 655 | ||
655 | static struct pcmcia_device_id cm4040_ids[] = { | 656 | static struct pcmcia_device_id cm4040_ids[] = { |
diff --git a/drivers/char/random.c b/drivers/char/random.c index caef35a46890..5a1aa64f4e76 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -1165,6 +1165,7 @@ const struct file_operations random_fops = { | |||
1165 | .poll = random_poll, | 1165 | .poll = random_poll, |
1166 | .unlocked_ioctl = random_ioctl, | 1166 | .unlocked_ioctl = random_ioctl, |
1167 | .fasync = random_fasync, | 1167 | .fasync = random_fasync, |
1168 | .llseek = noop_llseek, | ||
1168 | }; | 1169 | }; |
1169 | 1170 | ||
1170 | const struct file_operations urandom_fops = { | 1171 | const struct file_operations urandom_fops = { |
@@ -1172,6 +1173,7 @@ const struct file_operations urandom_fops = { | |||
1172 | .write = random_write, | 1173 | .write = random_write, |
1173 | .unlocked_ioctl = random_ioctl, | 1174 | .unlocked_ioctl = random_ioctl, |
1174 | .fasync = random_fasync, | 1175 | .fasync = random_fasync, |
1176 | .llseek = noop_llseek, | ||
1175 | }; | 1177 | }; |
1176 | 1178 | ||
1177 | /*************************************************************** | 1179 | /*************************************************************** |
diff --git a/drivers/char/rio/rio_linux.c b/drivers/char/rio/rio_linux.c index d58c2eb07f07..1e87a93164bf 100644 --- a/drivers/char/rio/rio_linux.c +++ b/drivers/char/rio/rio_linux.c | |||
@@ -241,6 +241,7 @@ static struct real_driver rio_real_driver = { | |||
241 | static const struct file_operations rio_fw_fops = { | 241 | static const struct file_operations rio_fw_fops = { |
242 | .owner = THIS_MODULE, | 242 | .owner = THIS_MODULE, |
243 | .unlocked_ioctl = rio_fw_ioctl, | 243 | .unlocked_ioctl = rio_fw_ioctl, |
244 | .llseek = noop_llseek, | ||
244 | }; | 245 | }; |
245 | 246 | ||
246 | static struct miscdevice rio_fw_device = { | 247 | static struct miscdevice rio_fw_device = { |
diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c index 99e5272e3c53..0bc135b9b16f 100644 --- a/drivers/char/scx200_gpio.c +++ b/drivers/char/scx200_gpio.c | |||
@@ -67,6 +67,7 @@ static const struct file_operations scx200_gpio_fileops = { | |||
67 | .read = nsc_gpio_read, | 67 | .read = nsc_gpio_read, |
68 | .open = scx200_gpio_open, | 68 | .open = scx200_gpio_open, |
69 | .release = scx200_gpio_release, | 69 | .release = scx200_gpio_release, |
70 | .llseek = no_llseek, | ||
70 | }; | 71 | }; |
71 | 72 | ||
72 | static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */ | 73 | static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */ |
diff --git a/drivers/char/snsc.c b/drivers/char/snsc.c index 32b74de18f5f..444ce17ac722 100644 --- a/drivers/char/snsc.c +++ b/drivers/char/snsc.c | |||
@@ -357,6 +357,7 @@ static const struct file_operations scdrv_fops = { | |||
357 | .poll = scdrv_poll, | 357 | .poll = scdrv_poll, |
358 | .open = scdrv_open, | 358 | .open = scdrv_open, |
359 | .release = scdrv_release, | 359 | .release = scdrv_release, |
360 | .llseek = noop_llseek, | ||
360 | }; | 361 | }; |
361 | 362 | ||
362 | static struct class *snsc_class; | 363 | static struct class *snsc_class; |
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index f2167f8e5aab..8ef16490810c 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -608,6 +608,7 @@ static unsigned int sc26198_baudtable[] = { | |||
608 | static const struct file_operations stl_fsiomem = { | 608 | static const struct file_operations stl_fsiomem = { |
609 | .owner = THIS_MODULE, | 609 | .owner = THIS_MODULE, |
610 | .unlocked_ioctl = stl_memioctl, | 610 | .unlocked_ioctl = stl_memioctl, |
611 | .llseek = noop_llseek, | ||
611 | }; | 612 | }; |
612 | 613 | ||
613 | static struct class *stallion_class; | 614 | static struct class *stallion_class; |
diff --git a/drivers/char/sx.c b/drivers/char/sx.c index 5b24db4ff7f1..e53f16865397 100644 --- a/drivers/char/sx.c +++ b/drivers/char/sx.c | |||
@@ -397,6 +397,7 @@ static struct real_driver sx_real_driver = { | |||
397 | static const struct file_operations sx_fw_fops = { | 397 | static const struct file_operations sx_fw_fops = { |
398 | .owner = THIS_MODULE, | 398 | .owner = THIS_MODULE, |
399 | .unlocked_ioctl = sx_fw_ioctl, | 399 | .unlocked_ioctl = sx_fw_ioctl, |
400 | .llseek = noop_llseek, | ||
400 | }; | 401 | }; |
401 | 402 | ||
402 | static struct miscdevice sx_fw_device = { | 403 | static struct miscdevice sx_fw_device = { |
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index ef31bb81e843..f3019f53e875 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c | |||
@@ -772,6 +772,7 @@ static ssize_t write_sysrq_trigger(struct file *file, const char __user *buf, | |||
772 | 772 | ||
773 | static const struct file_operations proc_sysrq_trigger_operations = { | 773 | static const struct file_operations proc_sysrq_trigger_operations = { |
774 | .write = write_sysrq_trigger, | 774 | .write = write_sysrq_trigger, |
775 | .llseek = noop_llseek, | ||
775 | }; | 776 | }; |
776 | 777 | ||
777 | static void sysrq_init_procfs(void) | 778 | static void sysrq_init_procfs(void) |
diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c index cad4eb65f13d..ad264185eb10 100644 --- a/drivers/char/tb0219.c +++ b/drivers/char/tb0219.c | |||
@@ -261,6 +261,7 @@ static const struct file_operations tb0219_fops = { | |||
261 | .write = tanbac_tb0219_write, | 261 | .write = tanbac_tb0219_write, |
262 | .open = tanbac_tb0219_open, | 262 | .open = tanbac_tb0219_open, |
263 | .release = tanbac_tb0219_release, | 263 | .release = tanbac_tb0219_release, |
264 | .llseek = no_llseek, | ||
264 | }; | 265 | }; |
265 | 266 | ||
266 | static void tb0219_restart(char *command) | 267 | static void tb0219_restart(char *command) |
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index 80ea6bcfffdc..d087532b29d7 100644 --- a/drivers/char/tlclk.c +++ b/drivers/char/tlclk.c | |||
@@ -267,6 +267,7 @@ static const struct file_operations tlclk_fops = { | |||
267 | .read = tlclk_read, | 267 | .read = tlclk_read, |
268 | .open = tlclk_open, | 268 | .open = tlclk_open, |
269 | .release = tlclk_release, | 269 | .release = tlclk_release, |
270 | .llseek = noop_llseek, | ||
270 | 271 | ||
271 | }; | 272 | }; |
272 | 273 | ||
diff --git a/drivers/char/toshiba.c b/drivers/char/toshiba.c index f8bc79f6de34..3d6e96172453 100644 --- a/drivers/char/toshiba.c +++ b/drivers/char/toshiba.c | |||
@@ -95,6 +95,7 @@ static long tosh_ioctl(struct file *, unsigned int, | |||
95 | static const struct file_operations tosh_fops = { | 95 | static const struct file_operations tosh_fops = { |
96 | .owner = THIS_MODULE, | 96 | .owner = THIS_MODULE, |
97 | .unlocked_ioctl = tosh_ioctl, | 97 | .unlocked_ioctl = tosh_ioctl, |
98 | .llseek = noop_llseek, | ||
98 | }; | 99 | }; |
99 | 100 | ||
100 | static struct miscdevice tosh_device = { | 101 | static struct miscdevice tosh_device = { |
diff --git a/drivers/char/uv_mmtimer.c b/drivers/char/uv_mmtimer.c index c7072ba14f48..493b47a0d511 100644 --- a/drivers/char/uv_mmtimer.c +++ b/drivers/char/uv_mmtimer.c | |||
@@ -52,6 +52,7 @@ static const struct file_operations uv_mmtimer_fops = { | |||
52 | .owner = THIS_MODULE, | 52 | .owner = THIS_MODULE, |
53 | .mmap = uv_mmtimer_mmap, | 53 | .mmap = uv_mmtimer_mmap, |
54 | .unlocked_ioctl = uv_mmtimer_ioctl, | 54 | .unlocked_ioctl = uv_mmtimer_ioctl, |
55 | .llseek = noop_llseek, | ||
55 | }; | 56 | }; |
56 | 57 | ||
57 | /** | 58 | /** |
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c index b663d573aad9..be6d6fb47cc5 100644 --- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c +++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c | |||
@@ -567,6 +567,7 @@ static const struct file_operations hwicap_fops = { | |||
567 | .read = hwicap_read, | 567 | .read = hwicap_read, |
568 | .open = hwicap_open, | 568 | .open = hwicap_open, |
569 | .release = hwicap_release, | 569 | .release = hwicap_release, |
570 | .llseek = noop_llseek, | ||
570 | }; | 571 | }; |
571 | 572 | ||
572 | static int __devinit hwicap_setup(struct device *dev, int id, | 573 | static int __devinit hwicap_setup(struct device *dev, int id, |