diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index 1e6d354fff38..dc12b0dbb9b2 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
@@ -53,6 +53,7 @@ extern int shpchp_debug; | |||
53 | #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) | 53 | #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) |
54 | #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) | 54 | #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) |
55 | 55 | ||
56 | #define SLOT_NAME_SIZE 10 | ||
56 | struct slot { | 57 | struct slot { |
57 | u8 bus; | 58 | u8 bus; |
58 | u8 device; | 59 | u8 device; |
@@ -68,6 +69,7 @@ struct slot { | |||
68 | struct hpc_ops *hpc_ops; | 69 | struct hpc_ops *hpc_ops; |
69 | struct hotplug_slot *hotplug_slot; | 70 | struct hotplug_slot *hotplug_slot; |
70 | struct list_head slot_list; | 71 | struct list_head slot_list; |
72 | char name[SLOT_NAME_SIZE]; | ||
71 | }; | 73 | }; |
72 | 74 | ||
73 | struct event_info { | 75 | struct event_info { |