PCI: pciehp: make cmd_busy flag one bit
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 3 Feb 2009 06:06:18 +0000 (15:06 +0900)
committerJesse Barnes <jbarnes@hobbes.lan>
Fri, 20 Mar 2009 02:29:30 +0000 (19:29 -0700)
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>
drivers/pci/hotplug/pciehp.h

index 2bf8d28..0a36854 100644 (file)
@@ -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;