drm: inline drm_pci_set_unique
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 3 Nov 2013 20:47:18 +0000 (21:47 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Apr 2014 08:32:51 +0000 (10:32 +0200)
commit53bf2a2bca9b56e23fa8862159c75868672d7f1e
tree0c414e1e70ac8f768ddd2b3d3fa201948bdf6f9a
parentb2a21aa25a39837d06eb24a7f0fef1733f9843eb
drm: inline drm_pci_set_unique

This is only used for drm versions 1.0, and kms drivers have never
been there. So we can appropriately restrict this to legacy and hence
pci devices and inline everything.

v2: Make the dummy function actually return something, caught by Wu
Fengguang's 0-day tester.

v3: Fix spelling in comment (Thierry)

Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_pci.c
include/drm/drmP.h