]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i2c: pca954x: Remove pointer to GD
authorMichal Simek <michal.simek@amd.com>
Thu, 1 Aug 2024 07:41:25 +0000 (09:41 +0200)
committerHeiko Schocher <hs@denx.de>
Fri, 9 Aug 2024 12:46:05 +0000 (14:46 +0200)
There is no reason to have any pointer to GD that's why remove it.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/muxes/pca954x.c

index b4e3e16a9764fdf94aa50c68795c932ba7b4a4b1..795288fe2e94553760d0e8f0c93a997cba94a8cd 100644 (file)
 #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,