From: Yinghai Lu Date: Wed, 4 Jan 2012 23:49:45 +0000 (-0800) Subject: PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cda57bf9348fdbf4b8a830d6f9eb7da81df2f486;p=linux-beck.git PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES Save some bytes for device resource array. Signed-off-by: Yinghai Lu Signed-off-by: Jesse Barnes --- 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;