From: Bjorn Helgaas Date: Wed, 17 Apr 2013 22:57:56 +0000 (-0600) Subject: PCI: Use u8, not int, for PM capability offset X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~143^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703860ed4e36ded696bd44af6107243fdedfb746;p=pandora-kernel.git PCI: Use u8, not int, for PM capability offset The Power Management Capability (PCI_CAP_ID_PM == 0x01) is defined by PCI and must appear in the 256-byte PCI Configuration Space from 0-0xff. It cannot be in the PCIe Extended Configuration space from 0x100-0xfff, so we only need a u8 to hold its offset. Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki --- Reading git-diff-tree failed