]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: serial: rename U_BOOT_DRIVER name to rockchip_uart
authorJohan Jonker <jbx6244@gmail.com>
Sat, 9 Apr 2022 16:55:12 +0000 (18:55 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
commit6e2ee2ebb808721ab5cb4b03642a169c5ec739c7
treefbe9a2294fbd824ffd82a628ae827e1a65c5ce6f
parent04ee76c988859a586e9bc6b7f65755a5af295105
rockchip: serial: rename U_BOOT_DRIVER name to rockchip_uart

When a defconfig for rk3288 is compiled it gives the warning:

rockchip_rk3288_uart: Missing .compatible in
                      ./drivers/serial/serial_rockchip.c
                    : WARNING: the driver rockchip_rk3288_uart
                      was not found in the driver list

Fix by renaming U_BOOT_DRIVER name of serial_rockchip.c
to rockchip_uart. Add rk3288 serial support with
a DM_DRIVER_ALIAS define.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/serial/serial_rockchip.c