Commit 6a82e21823058eea95325005b79f3b8c9492460f

Authored by Kenji Kaneshige
Committed by Jesse Barnes
1 parent 99f0169c17

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/pci/hotplug/pciehp.h
... ... @@ -108,7 +108,7 @@
108 108 u32 slot_cap;
109 109 u8 cap_base;
110 110 struct timer_list poll_timer;
111   - int cmd_busy;
  111 + unsigned int cmd_busy:1;
112 112 unsigned int no_cmd_complete:1;
113 113 unsigned int link_active_reporting:1;
114 114 unsigned int notification_enabled:1;