pci: pci_mvebu: Remove unused DECLARE_GLOBAL_DATA_PTR
authorPali Rohár <pali@kernel.org>
Thu, 11 Nov 2021 15:35:47 +0000 (16:35 +0100)
committerStefan Roese <sr@denx.de>
Tue, 21 Dec 2021 06:42:01 +0000 (07:42 +0100)
The global data pointer is not used in this driver, remove it's
declaration.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_mvebu.c

index 4a9b351..9248cbc 100644 (file)
@@ -14,7 +14,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>
@@ -27,8 +26,6 @@
 #include <linux/ioport.h>
 #include <linux/mbus.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* PCIe unit register offsets */
 #define SELECT(x, n)                   ((x >> n) & 1UL)