PCI: ibmphp: stop managing hotplug_slot->name
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Now, we simply advise the PCI core of the name that we would like, and let the core take care of the rest. Additionally, slightly rearrange the members of struct slot so they are naturally aligned to eliminate holes. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
committed by
Jesse Barnes
parent
43caae884b
commit
a32615a1a6
@ -707,17 +707,16 @@ struct slot {
|
||||
u8 device;
|
||||
u8 number;
|
||||
u8 real_physical_slot_num;
|
||||
char name[100];
|
||||
u32 capabilities;
|
||||
u8 supported_speed;
|
||||
u8 supported_bus_mode;
|
||||
u8 flag; /* this is for disable slot and polling */
|
||||
u8 ctlr_index;
|
||||
struct hotplug_slot *hotplug_slot;
|
||||
struct controller *ctrl;
|
||||
struct pci_func *func;
|
||||
u8 irq[4];
|
||||
u8 flag; /* this is for disable slot and polling */
|
||||
int bit_mode; /* 0 = 32, 1 = 64 */
|
||||
u8 ctlr_index;
|
||||
struct bus_info *bus_on;
|
||||
struct list_head ibm_slot_list;
|
||||
u8 status;
|
||||
|
Reference in New Issue
Block a user