diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-12-16 05:04:49 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-12-16 05:04:49 -0500 |
| commit | 348324c5b10bcba8d9daabdfb85a6927311be34f (patch) | |
| tree | d06ca3a264407a14a1f36c1b798d6dc0dc1582d8 /include/linux/debugfs.h | |
| parent | 1e63bd9cc43db5400a1423a7ec8266b4e7c54bd0 (diff) | |
| parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) | |
Merge tag 'v3.13-rc4' into next
Synchronize with mainline to bring in the new keycode definitions and
new hwmon API.
Diffstat (limited to 'include/linux/debugfs.h')
| -rw-r--r-- | include/linux/debugfs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 263489d0788d..4d0b4d1aa132 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
| @@ -206,6 +206,12 @@ static inline struct dentry *debugfs_create_size_t(const char *name, umode_t mod | |||
| 206 | return ERR_PTR(-ENODEV); | 206 | return ERR_PTR(-ENODEV); |
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | static inline struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode, | ||
| 210 | struct dentry *parent, atomic_t *value) | ||
| 211 | { | ||
| 212 | return ERR_PTR(-ENODEV); | ||
| 213 | } | ||
| 214 | |||
| 209 | static inline struct dentry *debugfs_create_bool(const char *name, umode_t mode, | 215 | static inline struct dentry *debugfs_create_bool(const char *name, umode_t mode, |
| 210 | struct dentry *parent, | 216 | struct dentry *parent, |
| 211 | u32 *value) | 217 | u32 *value) |
| @@ -227,6 +233,12 @@ static inline struct dentry *debugfs_create_regset32(const char *name, | |||
| 227 | return ERR_PTR(-ENODEV); | 233 | return ERR_PTR(-ENODEV); |
| 228 | } | 234 | } |
| 229 | 235 | ||
| 236 | static inline int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, | ||
| 237 | int nregs, void __iomem *base, char *prefix) | ||
| 238 | { | ||
| 239 | return 0; | ||
| 240 | } | ||
| 241 | |||
| 230 | static inline bool debugfs_initialized(void) | 242 | static inline bool debugfs_initialized(void) |
| 231 | { | 243 | { |
| 232 | return false; | 244 | return false; |
