There is no reason to have any pointer to GD that's why remove it.

Signed-off-by: Michal Simek <[email protected]>
---

 drivers/i2c/muxes/pca954x.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c
index b4e3e16a9764..795288fe2e94 100644
--- a/drivers/i2c/muxes/pca954x.c
+++ b/drivers/i2c/muxes/pca954x.c
@@ -10,12 +10,9 @@
 #include <i2c.h>
 #include <log.h>
 #include <malloc.h>
-#include <asm/global_data.h>
 
 #include <asm-generic/gpio.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 enum pca_type {
        PCA9543,
        PCA9544,
-- 
2.43.0

Reply via email to