diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 13:52:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 13:52:56 -0400 |
commit | 092e0e7e520a1fca03e13c9f2d157432a8657ff2 (patch) | |
tree | 451897252c4c08c4b5a8ef535da156f1e817e80b /arch/arm/mach-msm | |
parent | 79f14b7c56d3b3ba58f8b43d1f70b9b71477a800 (diff) | |
parent | 776c163b1b93c8dfa5edba885bc2bfbc2d228a5f (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 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/last_radio_log.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-msm/smd_debug.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/last_radio_log.c b/arch/arm/mach-msm/last_radio_log.c index b64ba5a98686..1e243f46a969 100644 --- a/arch/arm/mach-msm/last_radio_log.c +++ b/arch/arm/mach-msm/last_radio_log.c | |||
@@ -48,7 +48,8 @@ static ssize_t last_radio_log_read(struct file *file, char __user *buf, | |||
48 | } | 48 | } |
49 | 49 | ||
50 | static struct file_operations last_radio_log_fops = { | 50 | static struct file_operations last_radio_log_fops = { |
51 | .read = last_radio_log_read | 51 | .read = last_radio_log_read, |
52 | .llseek = default_llseek, | ||
52 | }; | 53 | }; |
53 | 54 | ||
54 | void msm_init_last_radio_log(struct module *owner) | 55 | void msm_init_last_radio_log(struct module *owner) |
diff --git a/arch/arm/mach-msm/smd_debug.c b/arch/arm/mach-msm/smd_debug.c index 3b2dd717b788..f91c3b7bc655 100644 --- a/arch/arm/mach-msm/smd_debug.c +++ b/arch/arm/mach-msm/smd_debug.c | |||
@@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file) | |||
212 | static const struct file_operations debug_ops = { | 212 | static const struct file_operations debug_ops = { |
213 | .read = debug_read, | 213 | .read = debug_read, |
214 | .open = debug_open, | 214 | .open = debug_open, |
215 | .llseek = default_llseek, | ||
215 | }; | 216 | }; |
216 | 217 | ||
217 | static void debug_create(const char *name, mode_t mode, | 218 | static void debug_create(const char *name, mode_t mode, |