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-Tag: accepted/tizen/common/20141203.182822~5516^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cda57bf9348fdbf4b8a830d6f9eb7da81df2f486;p=platform%2Fkernel%2Flinux-arm64.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 174fe8a..5d06e34 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;