From: kbuild test robot Date: Wed, 21 Jan 2015 12:32:11 +0000 (+0800) Subject: drm/radeon: cik_sdma_ctx_switch_enable() can be static X-Git-Tag: v4.0-rc1~74^2~30^2~1 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=55e3ad34ce09805d08b238549b6c86fe90cf271d;p=linux.git drm/radeon: cik_sdma_ctx_switch_enable() can be static drivers/gpu/drm/radeon/cik_sdma.c:293:6: sparse: symbol 'cik_sdma_ctx_switch_enable' was not declared. Should it be static? Signed-off-by: Fengguang Wu Signed-off-by: Oded Gabbay --- diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c index 479519c24a1f..7d2ff31c35a5 100644 --- a/drivers/gpu/drm/radeon/cik_sdma.c +++ b/drivers/gpu/drm/radeon/cik_sdma.c @@ -290,7 +290,7 @@ static void cik_sdma_rlc_stop(struct radeon_device *rdev) * * Halt or unhalt the async dma engines (CIK). */ -void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable) +static void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable) { uint32_t reg_offset, value; int i;