diff options
| author | Joe Perches <joe@perches.com> | 2014-08-06 19:08:45 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 21:01:23 -0400 |
| commit | 68be302963230fa76600cd598935a830ac95dca2 (patch) | |
| tree | 0dfbcf46c50b6892a97bd692c739546d56fb6369 /include/linux | |
| parent | 69102311a57d1fd65cdc4002c55c5d551c799044 (diff) | |
fs.h, drivers/hwmon/asus_atk0110.c: fix DEFINE_SIMPLE_ATTRIBUTE semicolon definition and use
The DEFINE_SIMPLE_ATTRIBUTE macro should not end in a ; Fix the one use
in the kernel tree that did not have a semicolon.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 2daccaf4b547..1ab6c6913040 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -2688,7 +2688,7 @@ static const struct file_operations __fops = { \ | |||
| 2688 | .read = simple_attr_read, \ | 2688 | .read = simple_attr_read, \ |
| 2689 | .write = simple_attr_write, \ | 2689 | .write = simple_attr_write, \ |
| 2690 | .llseek = generic_file_llseek, \ | 2690 | .llseek = generic_file_llseek, \ |
| 2691 | }; | 2691 | } |
| 2692 | 2692 | ||
| 2693 | static inline __printf(1, 2) | 2693 | static inline __printf(1, 2) |
| 2694 | void __simple_attr_check_format(const char *fmt, ...) | 2694 | void __simple_attr_check_format(const char *fmt, ...) |
