projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f0169
)
PCI: pciehp: make cmd_busy flag one bit
author
Kenji Kaneshige
<kaneshige.kenji@jp.fujitsu.com>
Tue, 3 Feb 2009 06:06:18 +0000
(15:06 +0900)
committer
Jesse 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
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp.h
b/drivers/pci/hotplug/pciehp.h
index 2bf8d28062e8f35a078778d1f7ae34e1e2411901..0a368547e6339d41ed7a80c08c9c6509d4d57007 100644
(file)
--- 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;