diff options
Diffstat (limited to 'drivers/usb/gadget/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index ba145e7fbe03..3ed73f49cf18 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -2097,11 +2097,11 @@ enomem0: | |||
2097 | } | 2097 | } |
2098 | 2098 | ||
2099 | /* "mount -t gadgetfs path /dev/gadget" ends up here */ | 2099 | /* "mount -t gadgetfs path /dev/gadget" ends up here */ |
2100 | static int | 2100 | static struct dentry * |
2101 | gadgetfs_get_sb (struct file_system_type *t, int flags, | 2101 | gadgetfs_mount (struct file_system_type *t, int flags, |
2102 | const char *path, void *opts, struct vfsmount *mnt) | 2102 | const char *path, void *opts) |
2103 | { | 2103 | { |
2104 | return get_sb_single (t, flags, opts, gadgetfs_fill_super, mnt); | 2104 | return mount_single (t, flags, opts, gadgetfs_fill_super); |
2105 | } | 2105 | } |
2106 | 2106 | ||
2107 | static void | 2107 | static void |
@@ -2119,7 +2119,7 @@ gadgetfs_kill_sb (struct super_block *sb) | |||
2119 | static struct file_system_type gadgetfs_type = { | 2119 | static struct file_system_type gadgetfs_type = { |
2120 | .owner = THIS_MODULE, | 2120 | .owner = THIS_MODULE, |
2121 | .name = shortname, | 2121 | .name = shortname, |
2122 | .get_sb = gadgetfs_get_sb, | 2122 | .mount = gadgetfs_mount, |
2123 | .kill_sb = gadgetfs_kill_sb, | 2123 | .kill_sb = gadgetfs_kill_sb, |
2124 | }; | 2124 | }; |
2125 | 2125 | ||