aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 13:52:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-22 13:52:56 -0400
commit092e0e7e520a1fca03e13c9f2d157432a8657ff2 (patch)
tree451897252c4c08c4b5a8ef535da156f1e817e80b /drivers/usb/host
parent79f14b7c56d3b3ba58f8b43d1f70b9b71477a800 (diff)
parent776c163b1b93c8dfa5edba885bc2bfbc2d228a5f (diff)
Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
* 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl: vfs: make no_llseek the default vfs: don't use BKL in default_llseek llseek: automatically add .llseek fop libfs: use generic_file_llseek for simple_attr mac80211: disallow seeks in minstrel debug code lirc: make chardev nonseekable viotape: use noop_llseek raw: use explicit llseek file operations ibmasmfs: use generic_file_llseek spufs: use llseek in all file operations arm/omap: use generic_file_llseek in iommu_debug lkdtm: use generic_file_llseek in debugfs net/wireless: use generic_file_llseek in debugfs drm: use noop_llseek
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-dbg.c4
-rw-r--r--drivers/usb/host/ohci-dbg.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c
index 76b7fd2d838a..86afdc73322f 100644
--- a/drivers/usb/host/ehci-dbg.c
+++ b/drivers/usb/host/ehci-dbg.c
@@ -369,18 +369,21 @@ static const struct file_operations debug_async_fops = {
369 .open = debug_async_open, 369 .open = debug_async_open,
370 .read = debug_output, 370 .read = debug_output,
371 .release = debug_close, 371 .release = debug_close,
372 .llseek = default_llseek,
372}; 373};
373static const struct file_operations debug_periodic_fops = { 374static const struct file_operations debug_periodic_fops = {
374 .owner = THIS_MODULE, 375 .owner = THIS_MODULE,
375 .open = debug_periodic_open, 376 .open = debug_periodic_open,
376 .read = debug_output, 377 .read = debug_output,
377 .release = debug_close, 378 .release = debug_close,
379 .llseek = default_llseek,
378}; 380};
379static const struct file_operations debug_registers_fops = { 381static const struct file_operations debug_registers_fops = {
380 .owner = THIS_MODULE, 382 .owner = THIS_MODULE,
381 .open = debug_registers_open, 383 .open = debug_registers_open,
382 .read = debug_output, 384 .read = debug_output,
383 .release = debug_close, 385 .release = debug_close,
386 .llseek = default_llseek,
384}; 387};
385static const struct file_operations debug_lpm_fops = { 388static const struct file_operations debug_lpm_fops = {
386 .owner = THIS_MODULE, 389 .owner = THIS_MODULE,
@@ -388,6 +391,7 @@ static const struct file_operations debug_lpm_fops = {
388 .read = debug_lpm_read, 391 .read = debug_lpm_read,
389 .write = debug_lpm_write, 392 .write = debug_lpm_write,
390 .release = debug_lpm_close, 393 .release = debug_lpm_close,
394 .llseek = noop_llseek,
391}; 395};
392 396
393static struct dentry *ehci_debug_root; 397static struct dentry *ehci_debug_root;
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c
index 36abd2baa3ea..d7d34492934a 100644
--- a/drivers/usb/host/ohci-dbg.c
+++ b/drivers/usb/host/ohci-dbg.c
@@ -413,18 +413,21 @@ static const struct file_operations debug_async_fops = {
413 .open = debug_async_open, 413 .open = debug_async_open,
414 .read = debug_output, 414 .read = debug_output,
415 .release = debug_close, 415 .release = debug_close,
416 .llseek = default_llseek,
416}; 417};
417static const struct file_operations debug_periodic_fops = { 418static const struct file_operations debug_periodic_fops = {
418 .owner = THIS_MODULE, 419 .owner = THIS_MODULE,
419 .open = debug_periodic_open, 420 .open = debug_periodic_open,
420 .read = debug_output, 421 .read = debug_output,
421 .release = debug_close, 422 .release = debug_close,
423 .llseek = default_llseek,
422}; 424};
423static const struct file_operations debug_registers_fops = { 425static const struct file_operations debug_registers_fops = {
424 .owner = THIS_MODULE, 426 .owner = THIS_MODULE,
425 .open = debug_registers_open, 427 .open = debug_registers_open,
426 .read = debug_output, 428 .read = debug_output,
427 .release = debug_close, 429 .release = debug_close,
430 .llseek = default_llseek,
428}; 431};
429 432
430static struct dentry *ohci_debug_root; 433static struct dentry *ohci_debug_root;