summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/pci_hotplug.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-08-28 11:43:25 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 17:43:53 -0700
commit660a0e8fdf85f30b1e5f6905a78361476094eb7c (patch)
treebbbb3adc62184869713dac5151d5a634ef1160af /drivers/pci/hotplug/pci_hotplug.h
parente1b95dc6b1cd02c3625ba3d1d770d095d6a4b313 (diff)
downloadlwn-660a0e8fdf85f30b1e5f6905a78361476094eb7c.tar.gz
lwn-660a0e8fdf85f30b1e5f6905a78361476094eb7c.zip
PCI Hotplug: fix __must_check warnings
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/pci_hotplug.h')
-rw-r--r--drivers/pci/hotplug/pci_hotplug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug.h b/drivers/pci/hotplug/pci_hotplug.h
index e929b7c11429..772523dc3860 100644
--- a/drivers/pci/hotplug/pci_hotplug.h
+++ b/drivers/pci/hotplug/pci_hotplug.h
@@ -172,8 +172,8 @@ struct hotplug_slot {
extern int pci_hp_register (struct hotplug_slot *slot);
extern int pci_hp_deregister (struct hotplug_slot *slot);
-extern int pci_hp_change_slot_info (struct hotplug_slot *slot,
- struct hotplug_slot_info *info);
+extern int __must_check pci_hp_change_slot_info (struct hotplug_slot *slot,
+ struct hotplug_slot_info *info);
extern struct subsystem pci_hotplug_slots_subsys;
/* PCI Setting Record (Type 0) */