diff options
Diffstat (limited to 'arch/arm/plat-omap/iommu-debug.c')
-rw-r--r-- | arch/arm/plat-omap/iommu-debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/iommu-debug.c b/arch/arm/plat-omap/iommu-debug.c index e6c0d536899c..f07cf2f08e09 100644 --- a/arch/arm/plat-omap/iommu-debug.c +++ b/arch/arm/plat-omap/iommu-debug.c | |||
@@ -328,12 +328,14 @@ static int debug_open_generic(struct inode *inode, struct file *file) | |||
328 | .open = debug_open_generic, \ | 328 | .open = debug_open_generic, \ |
329 | .read = debug_read_##name, \ | 329 | .read = debug_read_##name, \ |
330 | .write = debug_write_##name, \ | 330 | .write = debug_write_##name, \ |
331 | .llseek = generic_file_llseek, \ | ||
331 | }; | 332 | }; |
332 | 333 | ||
333 | #define DEBUG_FOPS_RO(name) \ | 334 | #define DEBUG_FOPS_RO(name) \ |
334 | static const struct file_operations debug_##name##_fops = { \ | 335 | static const struct file_operations debug_##name##_fops = { \ |
335 | .open = debug_open_generic, \ | 336 | .open = debug_open_generic, \ |
336 | .read = debug_read_##name, \ | 337 | .read = debug_read_##name, \ |
338 | .llseek = generic_file_llseek, \ | ||
337 | }; | 339 | }; |
338 | 340 | ||
339 | DEBUG_FOPS_RO(ver); | 341 | DEBUG_FOPS_RO(ver); |