summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-02-03 07:06:18 +0100
committerJesse Barnes <jbarnes@hobbes.lan>2009-03-20 03:29:30 +0100
commit6a82e21823058eea95325005b79f3b8c9492460f (patch)
treec3e9151361f5784d6f12802fa5c1c6ea6b51d87c /drivers/pci/hotplug/pciehp.h
parentPCI: pciehp: enable software notification on empty slots (diff)
downloadlinux-6a82e21823058eea95325005b79f3b8c9492460f.tar.xz
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/pciehp.h')
-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;