]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit203a1ce31b782ff1c52c932461722670d15f62a9
tree0c414e1e70ac8f768ddd2b3d3fa201948bdf6f9a
parentaae3ff490e8e93cb06371d3a395a8b70860712b4
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