diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 13:22:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 13:22:06 -0400 |
commit | 55ddf14b04bfe5afaab892a8fb12164b803f1dd5 (patch) | |
tree | fd6e6f0b9508628fca8d0cadd4ece199201991b2 /drivers/firewire/core-cdev.c | |
parent | a9a0aff5b56d4c40288c000ff09c3f238b6b6fec (diff) | |
parent | 3014420b6b5d0a6483cf5e56c10df180a33e957e (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
ieee1394: schedule for removal
firewire: core: use separate timeout for each transaction
firewire: core: Fix tlabel exhaustion problem
firewire: core: make transaction label allocation more robust
firewire: core: clean up config ROM related defined constants
ieee1394: mark char device files as not seekable
firewire: cdev: mark char device files as not seekable
firewire: ohci: cleanups and fix for nonstandard build without debug facility
firewire: ohci: wait for PHY register accesses to complete
firewire: ohci: fix up configuration of TI chips
firewire: ohci: enable 1394a enhancements
firewire: ohci: do not clear PHY interrupt status inadvertently
firewire: ohci: add a function for reading PHY registers
Trivial conflicts in Documentation/feature-removal-schedule.txt
Diffstat (limited to 'drivers/firewire/core-cdev.c')
-rw-r--r-- | drivers/firewire/core-cdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index 14a34d99eea..5bf106b9d79 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c | |||
@@ -227,7 +227,7 @@ static int fw_device_op_open(struct inode *inode, struct file *file) | |||
227 | list_add_tail(&client->link, &device->client_list); | 227 | list_add_tail(&client->link, &device->client_list); |
228 | mutex_unlock(&device->client_list_mutex); | 228 | mutex_unlock(&device->client_list_mutex); |
229 | 229 | ||
230 | return 0; | 230 | return nonseekable_open(inode, file); |
231 | } | 231 | } |
232 | 232 | ||
233 | static void queue_event(struct client *client, struct event *event, | 233 | static void queue_event(struct client *client, struct event *event, |
@@ -1496,13 +1496,13 @@ static unsigned int fw_device_op_poll(struct file *file, poll_table * pt) | |||
1496 | 1496 | ||
1497 | const struct file_operations fw_device_ops = { | 1497 | const struct file_operations fw_device_ops = { |
1498 | .owner = THIS_MODULE, | 1498 | .owner = THIS_MODULE, |
1499 | .llseek = no_llseek, | ||
1499 | .open = fw_device_op_open, | 1500 | .open = fw_device_op_open, |
1500 | .read = fw_device_op_read, | 1501 | .read = fw_device_op_read, |
1501 | .unlocked_ioctl = fw_device_op_ioctl, | 1502 | .unlocked_ioctl = fw_device_op_ioctl, |
1502 | .poll = fw_device_op_poll, | ||
1503 | .release = fw_device_op_release, | ||
1504 | .mmap = fw_device_op_mmap, | 1503 | .mmap = fw_device_op_mmap, |
1505 | 1504 | .release = fw_device_op_release, | |
1505 | .poll = fw_device_op_poll, | ||
1506 | #ifdef CONFIG_COMPAT | 1506 | #ifdef CONFIG_COMPAT |
1507 | .compat_ioctl = fw_device_op_compat_ioctl, | 1507 | .compat_ioctl = fw_device_op_compat_ioctl, |
1508 | #endif | 1508 | #endif |