On 11/11/21 16:35, Marek Behún wrote:
From: Pali Rohár <p...@kernel.org>

The global data pointer is not used in this driver, remove it's
declaration.

Signed-off-by: Pali Rohár <p...@kernel.org>
Signed-off-by: Marek Behún <marek.be...@nic.cz>

Applied to u-boot-marvell/next

Thanks,
Stefan

---
  drivers/pci/pci_mvebu.c | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c
index fea32414bf..f3830f67aa 100644
--- a/drivers/pci/pci_mvebu.c
+++ b/drivers/pci/pci_mvebu.c
@@ -13,7 +13,6 @@
  #include <dm.h>
  #include <log.h>
  #include <malloc.h>
-#include <asm/global_data.h>
  #include <dm/device-internal.h>
  #include <dm/lists.h>
  #include <dm/of_access.h>
@@ -28,8 +27,6 @@
  #include <linux/mbus.h>
  #include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
  /* PCIe unit register offsets */
  #define SELECT(x, n)                  ((x >> n) & 1UL)

Viele Grüße,
Stefan Roese

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Reply via email to