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)
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

Simple merge