summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-02-03 15:06:18 +0900
committerJesse Barnes <jbarnes@hobbes.lan>2009-03-19 19:29:30 -0700
commit6a82e21823058eea95325005b79f3b8c9492460f (patch)
treec3e9151361f5784d6f12802fa5c1c6ea6b51d87c /drivers/pci/hotplug
parent99f0169c17f334a11b0ace91188501c612f3e1e6 (diff)
downloadtalos-op-linux-6a82e21823058eea95325005b79f3b8c9492460f.tar.gz
talos-op-linux-6a82e21823058eea95325005b79f3b8c9492460f.zip
PCI: pciehp: make cmd_busy flag one bit
The cmd_busy field in struct controller takes only two values 0 or 1. So it should be one bit. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r--drivers/pci/hotplug/pciehp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index 2bf8d28062e8..0a368547e633 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -108,7 +108,7 @@ struct controller {
u32 slot_cap;
u8 cap_base;
struct timer_list poll_timer;
- int cmd_busy;
+ unsigned int cmd_busy:1;
unsigned int no_cmd_complete:1;
unsigned int link_active_reporting:1;
unsigned int notification_enabled:1;
OpenPOWER on IntegriCloud