Re: [PATCH 6/9] drm/pci: move drm_pcie_get_speed_cap_mask inside #ifdef CONFIG_PCI

2013-02-14 Thread Arnd Bergmann
On Thursday 14 February 2013, Fabio Estevam wrote: > Bjorn has already sent a fix for this problem: > http://www.spinics.net/lists/arm-kernel/msg224425.html Ok, excellent. The result seems to be identical, although patch is formatted differently. Acked-by: Arnd Bergmann for Bjorn's patch. -- T

Re: [PATCH 6/9] drm/pci: move drm_pcie_get_speed_cap_mask inside #ifdef CONFIG_PCI

2013-02-14 Thread Fabio Estevam
On Thu, Feb 14, 2013 at 8:26 PM, Arnd Bergmann wrote: > commit dd66cc2e1 "drm/pci: Use PCI Express Capability accessors" > introduced the use of the pcie_capability_read_dword function > in the drm_pci code, which is only defined when PCI is enabled. > While most of the file is already hidden awa

[PATCH 6/9] drm/pci: move drm_pcie_get_speed_cap_mask inside #ifdef CONFIG_PCI

2013-02-14 Thread Arnd Bergmann
commit dd66cc2e1 "drm/pci: Use PCI Express Capability accessors" introduced the use of the pcie_capability_read_dword function in the drm_pci code, which is only defined when PCI is enabled. While most of the file is already hidden away behind an #ifdef CONFIG_PCI, this function is not, and that n