Skip to content

Commit

Permalink
PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES
Browse files Browse the repository at this point in the history
Save some bytes for device resource array.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Jan 6, 2012
1 parent aecab53 commit cda57bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cda57bf

Please sign in to comment.