aboutsummaryrefslogtreecommitdiff
path: root/board/hisilicon/poplar
diff options
context:
space:
mode:
Diffstat (limited to 'board/hisilicon/poplar')
-rw-r--r--board/hisilicon/poplar/poplar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c
index b8be4ce45a6..bfb2c66a17a 100644
--- a/board/hisilicon/poplar/poplar.c
+++ b/board/hisilicon/poplar/poplar.c
@@ -46,7 +46,7 @@ static const struct pl01x_serial_plat serial_plat = {
.clock = 75000000,
};
-U_BOOT_DEVICE(poplar_serial) = {
+U_BOOT_DRVINFO(poplar_serial) = {
.name = "serial_pl01x",
.plat = &serial_plat,
};