[PATCH] rockchip: ram: fix debug funcfion define when RAM_ROCKCHIP_DEBUG not set

Jagan Teki jagan at amarulasolutions.com
Mon Jul 20 12:50:23 CEST 2020


Hi Kever,

On Mon, Jul 20, 2020 at 4:08 PM Kever Yang <kever.yang at rock-chips.com> wrote:
>
> 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.

Any specific reason why? usually, it has in the header in most of the
code in the tree.

Does it because of the v5.7-rc5 compiler sync patch.

[PATCH 07/10] compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5

Jagan.

--
Jagan Teki,
Amarula Solutions India Pvt. Ltd.
Co-Founder & Embedded Linux Architect
405/E-Block, Sri Lakshmi Shubham Arcade, Chandanagar, Hyderabad - 500050, India
M. (+91) 910 009 0959
[`as] http://www.amarulasolutions.com


More information about the U-Boot mailing list