diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sysfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 37fa24152bd8..8ec406afb3eb 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -119,6 +119,8 @@ void sysfs_remove_file_from_group(struct kobject *kobj, | |||
119 | 119 | ||
120 | void sysfs_notify(struct kobject *kobj, char *dir, char *attr); | 120 | void sysfs_notify(struct kobject *kobj, char *dir, char *attr); |
121 | 121 | ||
122 | void sysfs_printk_last_file(void); | ||
123 | |||
122 | extern int __must_check sysfs_init(void); | 124 | extern int __must_check sysfs_init(void); |
123 | 125 | ||
124 | #else /* CONFIG_SYSFS */ | 126 | #else /* CONFIG_SYSFS */ |
@@ -231,6 +233,10 @@ static inline int __must_check sysfs_init(void) | |||
231 | return 0; | 233 | return 0; |
232 | } | 234 | } |
233 | 235 | ||
236 | static inline void sysfs_printk_last_file(void) | ||
237 | { | ||
238 | } | ||
239 | |||
234 | #endif /* CONFIG_SYSFS */ | 240 | #endif /* CONFIG_SYSFS */ |
235 | 241 | ||
236 | #endif /* _SYSFS_H_ */ | 242 | #endif /* _SYSFS_H_ */ |