]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm: Implement drm_get_pci_dev() dummy for !PCI
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 11:37:47 +0000 (13:37 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 09:43:50 +0000 (10:43 +0100)
commita9e3c90c9fa39ed00e3223dc8f93c9cd12abb750
tree623b34902131cc75c0b53a1b119f9467e4b323b1
parent34eab43ed2483e69bc79fd2e3aaf5adfae771907
drm: Implement drm_get_pci_dev() dummy for !PCI

Implementing a dummy of this function allows drivers that use it to be
built on platforms that don't have PCI. This can happen for example if
the nouveau driver is built on Tegra without PCI enabled (or on 64-bit
ARM where PCI is not yet implemented).

Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drmP.h