From: Wei Yang Date: Tue, 30 Jun 2015 01:16:41 +0000 (+0800) Subject: PCI: Move PCI_FIND_CAP_TTL to pci.h and use it in quirks X-Git-Tag: omap-for-v4.3/fixes-merge-window~31^2~4^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff905f32966109d513ae17afc6fe39f1c76bb67;p=pandora-kernel.git PCI: Move PCI_FIND_CAP_TTL to pci.h and use it in quirks Some quirks search for a HyperTransport capability and use a hard-coded TTL value of 48 to avoid an infinite loop. Move the definition of PCI_FIND_CAP_TTL to pci.h and use it instead of the hard-coded TTL values. [bhelgaas: changelog] Signed-off-by: Wei Yang Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed