]> git.baikalelectronics.ru Git - uboot.git/commit
serial: pl01x: Change OF_CONTROL to OF_REAL
authorLukasz Majewski <lukma@denx.de>
Fri, 19 May 2023 10:43:51 +0000 (12:43 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:04 +0000 (14:40 +0200)
commit442bb47c6a2ad16f60ee0f07c7038be29164f7d5
tree04090755f50a0991052fc4832f1cbe46a4954e6b
parent48fc746dd95ab91f07eb0088df2280342233918c
serial: pl01x: Change OF_CONTROL to OF_REAL

Before this change, building this driver for SPL with enabled SPL_DM_SERIAL
was problematic, as '-Wunused-const-variable=' warning was visible.

Now, the code is only considered when u-boot proper is build.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/serial/serial_pl01x.c