Skip to content

Commit

Permalink
drm/amd/display/dc/dce112/dce112_resource: Include our own header fil…
Browse files Browse the repository at this point in the history
…e containing prototypes

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:883:6: warning: no previous prototype for ‘dce112_validate_bandwidth’ [-Wmissing-prototypes]
 drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1008:16: warning: no previous prototype for ‘dce112_add_stream_to_ctx’ [-Wmissing-prototypes]
 drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1407:23: warning: no previous prototype for ‘dce112_create_resource_pool’ [-Wmissing-prototypes]

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Anthony Koo <Anthony.Koo@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Lee Jones authored and Alex Deucher committed Jan 14, 2021
1 parent d308d0b commit dfb8846
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
#include "dce/dce_11_2_sh_mask.h"

#include "dce100/dce100_resource.h"
#define DC_LOGGER \
#include "dce112_resource.h"

#define DC_LOGGER \
dc->ctx->logger

#ifndef mmDP_DPHY_INTERNAL_CTRL
Expand Down

0 comments on commit dfb8846

Please sign in to comment.