X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Ftegra124%2Fdp.c;h=59758eb93614f1717bddee5bee2e0f7736e5b6d3;hb=c2279d784e35fa25ee3a9fa28a74a1ba545f8c1e;hp=5bf8524a5e8a7d315900aaec5e5f14f8c8ca9a06;hpb=d76592122b347473f09a440702cc3be03e368511;p=oweals%2Fu-boot.git diff --git a/drivers/video/tegra124/dp.c b/drivers/video/tegra124/dp.c index 5bf8524a5e..59758eb936 100644 --- a/drivers/video/tegra124/dp.c +++ b/drivers/video/tegra124/dp.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2011-2013, NVIDIA Corporation. * Copyright 2014 Google Inc. - * - * SPDX-License-Identifier: GPL-2.0 */ #include @@ -10,17 +9,16 @@ #include #include #include -#include +#include #include #include #include +#include #include "display.h" #include "edid.h" #include "sor.h" #include "displayport.h" -DECLARE_GLOBAL_DATA_PTR; - #define DO_FAST_LINK_TRAINING 1 struct tegra_dp_plat { @@ -1572,7 +1570,7 @@ static int tegra_dp_ofdata_to_platdata(struct udevice *dev) { struct tegra_dp_plat *plat = dev_get_platdata(dev); - plat->base = dev_get_addr(dev); + plat->base = dev_read_addr(dev); return 0; }