summaryrefslogtreecommitdiff
path: root/drivers/hotplug
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@soap.kroah.net>2002-02-06 22:23:40 -0800
committerGreg Kroah-Hartman <greg@soap.kroah.net>2002-02-06 22:23:40 -0800
commitbd39f47f7c179ba31a2bccee7d7c400048581abd (patch)
tree9468f909cdf74a2f7796fcab2c78469717009c0c /drivers/hotplug
parent0ec120046dee44027a28b66a3c28d1031982a9eb (diff)
typo fix, fixing a compile time bug due to the change over to the new
filesystem definition patches in -pre2 (changes pcihpfs_fs_type to pcihpfs_type).
Diffstat (limited to 'drivers/hotplug')
-rw-r--r--drivers/hotplug/pci_hotplug_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
index 27e20390d248..1088215636d5 100644
--- a/drivers/hotplug/pci_hotplug_core.c
+++ b/drivers/hotplug/pci_hotplug_core.c
@@ -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);