]> git.hungrycats.org Git - linux/commitdiff
typo fix, fixing a compile time bug due to the change over to the new
authorGreg Kroah-Hartman <greg@soap.kroah.net>
Thu, 7 Feb 2002 06:23:40 +0000 (22:23 -0800)
committerGreg Kroah-Hartman <greg@soap.kroah.net>
Thu, 7 Feb 2002 06:23:40 +0000 (22:23 -0800)
filesystem definition patches in -pre2 (changes pcihpfs_fs_type to
pcihpfs_type).

drivers/hotplug/pci_hotplug_core.c

index 27e20390d2481bc6efbac2cc4ff2457ec4d3b488..1088215636d5685a8fed07dda33c8549fa563af3 100644 (file)
@@ -414,7 +414,7 @@ static int get_mount (void)
        }
 
        spin_unlock (&mount_lock);
-       mnt = kern_mount (&pcihpfs_fs_type);
+       mnt = kern_mount (&pcihpfs_type);
        if (IS_ERR(mnt)) {
                err ("could not mount the fs...erroring out!\n");
                return -ENODEV;
@@ -1114,7 +1114,7 @@ static int __init pci_hotplug_init (void)
        spin_lock_init(&list_lock);
 
        dbg("registering filesystem.\n");
-       result = register_filesystem(&pcihpfs_fs_type);
+       result = register_filesystem(&pcihpfs_type);
        if (result) {
                err("register_filesystem failed with %d\n", result);
                goto exit;
@@ -1128,7 +1128,7 @@ exit:
 
 static void __exit pci_hotplug_exit (void)
 {
-       unregister_filesystem(&pcihpfs_fs_type);
+       unregister_filesystem(&pcihpfs_type);
 }
 
 module_init(pci_hotplug_init);