]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: ram: fix debug funcfion define when RAM_ROCKCHIP_DEBUG not set
authorKever Yang <kever.yang@rock-chips.com>
Mon, 20 Jul 2020 10:34:12 +0000 (18:34 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:22:33 +0000 (20:22 +0800)
commitb32858ca510183f61c803595492230ea840e5499
tree6b7ae2f4bd8a53395b4c8f0c69d29d3e1017b42c
parent40794c825f17881180852d4d010cacb3b45ce08e
rockchip: ram: fix debug funcfion define when RAM_ROCKCHIP_DEBUG not set

The empty function define should not be in the header file, or else the
build will error with function multi definition after CONFIG_RAM_ROCKCHIP_DEBUG
is disabled.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_common.h
drivers/ram/rockchip/sdram_common.c