projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aecab53
)
PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES
author
Yinghai Lu
<yinghai@kernel.org>
Wed, 4 Jan 2012 23:49:45 +0000
(15:49 -0800)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:15:14 +0000
(12:15 -0800)
Save some bytes for device resource array.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index 174fe8aabdde419ca2640691c740dfb1ee7c2f62..5d06e340da9a632472ff74118b7239277c1f198a 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-111,7
+111,7
@@
enum {
PCI_NUM_RESOURCES,
/* preserve this for compatibility */
- DEVICE_COUNT_RESOURCE
+ DEVICE_COUNT_RESOURCE
= PCI_NUM_RESOURCES,
};
typedef int __bitwise pci_power_t;
This page took
0.026352 seconds
and
5
git commands to generate.