diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-08-08 22:19:12 +0200 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-08-09 07:22:11 +1000 |
commit | 00fd78e5279aec3aa504307ff2db892d3efb555d (patch) | |
tree | 96b7b3a906eab063855eee055efa491dade3d84e /drivers/remoteproc | |
parent | 32c913e4369ce7bd1d16a9b6983f7b8975c13f5a (diff) |
drm: provide agp dummies for CONFIG_AGP=n
We currently rely on gcc dead-code elimination so the drm_agp_* helpers
are not called if drm_core_has_AGP() is false. That's ugly as hell so
provide "static inline" dummies for the case that AGP is disabled.
Fixes a build-regression introduced by:
commit 28ec711cd427f8b61f73712a43b8100ba8ca933b
Author: David Herrmann <dh.herrmann@gmail.com>
Date: Sat Jul 27 16:37:00 2013 +0200
drm/agp: move AGP cleanup paths to drm_agpsupport.c
v2: switch #ifdef -> #if (spotted by Stephen)
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions