diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-01-04 15:49:45 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-01-06 12:15:14 -0800 |
commit | cda57bf9348fdbf4b8a830d6f9eb7da81df2f486 (patch) | |
tree | 428e754d5064cb4da55c6896a274f9c716d27af6 /include/linux/pci.h | |
parent | aecab53f45b84fbc7d6848957f9d83e1c3548b17 (diff) | |
download | lwn-cda57bf9348fdbf4b8a830d6f9eb7da81df2f486.tar.gz lwn-cda57bf9348fdbf4b8a830d6f9eb7da81df2f486.zip |
PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES
Save some bytes for device resource array.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 174fe8aabdde..5d06e340da9a 100644 --- 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; |