]> git.baikalelectronics.ru Git - uboot.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)
commit5834b4f1551c6bf28a5549ae89235cb251a85e66
tree6b7ae2f4bd8a53395b4c8f0c69d29d3e1017b42c
parent8a719616d20b61caafe937ae4cf72f4734297cb3
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