summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_ringbuffer.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-02-26 10:49:26 +0100
committerRob Clark <robdclark@gmail.com>2018-03-19 06:33:39 -0400
commit288e5c8898c488298c39ff4bbf58928d30fbf99f (patch)
tree01419bce2320c247e2e1e25b1b04acd2050e6218 /drivers/gpu/drm/msm/msm_ringbuffer.h
parent61b734cb7cac6b06d0b33635622b51066e8da32f (diff)
drm/msm: fix building without debugfs
The adreno driver stopped building when CONFIG_DEBUGFS is disabled: drivers/gpu/drm/msm/adreno/adreno_device.c: In function 'adreno_load_gpu': drivers/gpu/drm/msm/adreno/adreno_device.c:153:16: error: 'const struct msm_gpu_funcs' has no member named 'debugfs_init' if (gpu->funcs->debugfs_init) { ^~ drivers/gpu/drm/msm/adreno/adreno_device.c:154:13: error: 'const struct msm_gpu_funcs' has no member named 'debugfs_init' gpu->funcs->debugfs_init(gpu, dev->primary); ^~ This adds an #ifdef around the code that references the hidden pointer. Fixes: 331dc0bc195b ("drm/msm: add a5xx specific debugfs") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions