projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3674a
)
drm/radeon: cik_sdma_ctx_switch_enable() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Wed, 21 Jan 2015 12:32:11 +0000
(20:32 +0800)
committer
Oded Gabbay
<oded.gabbay@amd.com>
Thu, 22 Jan 2015 15:53:02 +0000
(17:53 +0200)
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 <fengguang.wu@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/radeon/cik_sdma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/cik_sdma.c
b/drivers/gpu/drm/radeon/cik_sdma.c
index 479519c24a1f678fe7eaf5e0224763defddcdec8..7d2ff31c35a5d0d37ac5302adcb1320cc41f2448 100644
(file)
--- 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;