summaryrefslogtreecommitdiff
path: root/fs/devfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/devfs.c')
-rw-r--r--fs/devfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/devfs.c b/fs/devfs.c
index 08ce8b7bdd..eaee51c375 100644
--- a/fs/devfs.c
+++ b/fs/devfs.c
@@ -298,7 +298,7 @@ static const struct super_operations devfs_ops = {
static int devfs_probe(struct device *dev)
{
struct inode *inode;
- struct fs_device_d *fsdev = dev_to_fs_device(dev);
+ struct fs_device *fsdev = dev_to_fs_device(dev);
struct super_block *sb = &fsdev->sb;
sb->s_op = &devfs_ops;