OSDN Git Service

drm: move EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 12 Jan 2019 19:32:45 +0000 (20:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Jan 2019 09:58:37 +0000 (10:58 +0100)
commit21376e2c3c5bad5e87ba700c055c8a8235c2bfd5
treead48893cdbc1b0b2e14c604aafa9773535b52746
parente9eafcb589213395232084a2378e2e90f67feb29
drm: move EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h

In the quest to get rid of drmP.h move the newly
added EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h.
Fix the single user.

Add a note to drmP.h to avoid further use of it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190112193251.20450-3-sam@ravnborg.org
drivers/gpu/drm/drm_framebuffer.c
include/drm/drmP.h
include/drm/drm_util.h