Loading drivers/bus/mhi/devices/mhi_netdev.c +1 −1 Original line number Diff line number Diff line Loading @@ -917,7 +917,7 @@ static void mhi_netdev_create_debugfs_dir(void) #else static void mhi_netdev_create_debugfs(struct mhi_netdev_private *mhi_netdev) static void mhi_netdev_create_debugfs(struct mhi_netdev *mhi_netdev) { } Loading include/linux/debugfs.h +3 −2 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ static const struct file_operations __fops = { \ .llseek = no_llseek, \ } typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); #if defined(CONFIG_DEBUG_FS) struct dentry *debugfs_lookup(const char *name, struct dentry *parent); Loading @@ -75,7 +77,6 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *dest); typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); struct dentry *debugfs_create_automount(const char *name, struct dentry *parent, debugfs_automount_t f, Loading Loading @@ -204,7 +205,7 @@ static inline struct dentry *debugfs_create_symlink(const char *name, static inline struct dentry *debugfs_create_automount(const char *name, struct dentry *parent, struct vfsmount *(*f)(void *), debugfs_automount_t f, void *data) { return ERR_PTR(-ENODEV); Loading Loading
drivers/bus/mhi/devices/mhi_netdev.c +1 −1 Original line number Diff line number Diff line Loading @@ -917,7 +917,7 @@ static void mhi_netdev_create_debugfs_dir(void) #else static void mhi_netdev_create_debugfs(struct mhi_netdev_private *mhi_netdev) static void mhi_netdev_create_debugfs(struct mhi_netdev *mhi_netdev) { } Loading
include/linux/debugfs.h +3 −2 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ static const struct file_operations __fops = { \ .llseek = no_llseek, \ } typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); #if defined(CONFIG_DEBUG_FS) struct dentry *debugfs_lookup(const char *name, struct dentry *parent); Loading @@ -75,7 +77,6 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *dest); typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); struct dentry *debugfs_create_automount(const char *name, struct dentry *parent, debugfs_automount_t f, Loading Loading @@ -204,7 +205,7 @@ static inline struct dentry *debugfs_create_symlink(const char *name, static inline struct dentry *debugfs_create_automount(const char *name, struct dentry *parent, struct vfsmount *(*f)(void *), debugfs_automount_t f, void *data) { return ERR_PTR(-ENODEV); Loading