projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8e25c
)
i2c: pca954x: Remove pointer to GD
author
Michal Simek
<michal.simek@amd.com>
Thu, 1 Aug 2024 07:41:25 +0000
(09:41 +0200)
committer
Heiko 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
patch
|
blob
|
history
diff --git
a/drivers/i2c/muxes/pca954x.c
b/drivers/i2c/muxes/pca954x.c
index b4e3e16a9764fdf94aa50c68795c932ba7b4a4b1..795288fe2e94553760d0e8f0c93a997cba94a8cd 100644
(file)
--- 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,