]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PCI Hotplug: Fixup pcihp_skeleton.c
authorRolf Eike Beer <eike-hotplug@sf-tec.de>
Thu, 29 Jan 2004 06:26:28 +0000 (22:26 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 29 Jan 2004 06:26:28 +0000 (22:26 -0800)
The functions are not named *_skel_*, so it seems useful not to call them with
this.

drivers/pci/hotplug/pcihp_skeleton.c

index e78d99606699a8ac29a3c3ffd09d4910ba848cea..08250839fa7e1bb88544693c53d7d2bf83dbe2c1 100644 (file)
@@ -370,10 +370,10 @@ static int init_slots (void)
                 * Initilize the slot info structure with some known
                 * good values.
                 */
-               info->power_status = get_skel_power_status(slot);
-               info->attention_status = get_skel_attention_status(slot);
-               info->latch_status = get_skel_latch_status(slot);
-               info->adapter_status = get_skel_adapter_status(slot);
+               info->power_status = get_power_status(slot);
+               info->attention_status = get_attention_status(slot);
+               info->latch_status = get_latch_status(slot);
+               info->adapter_status = get_adapter_status(slot);
                
                dbg ("registering slot %d\n", i);
                retval = pci_hp_register (slot->hotplug_slot);