PCI: Use bitfield instead of bool for struct pci_vpd_pci22.busy
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Feb 2016 20:04:07 +0000 (14:04 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Feb 2016 23:46:57 +0000 (17:46 -0600)
commitc5563887a96912f84efe5c1322bfbc4f9a30e882
tree5548b4139c51808374221ee86d1a5f47a39ce409
parentf52e5629f66d5fd79ae8b8145d76ae0ddb47e142
PCI: Use bitfield instead of bool for struct pci_vpd_pci22.busy

Make struct pci_vpd_pci22.busy a 1-bit field instead of a bool.  We intend
to add another flag, and two bitfields are cheaper than two bools.

Tested-by: Shane Seymour <shane.seymour@hpe.com>
Tested-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
drivers/pci/access.c