summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:31:33 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:57 -0600
commit051d224566545092ec0d6df3bc3ea33780d4cc7a (patch)
tree7530b3c1d01d84c1cc417eebfc2961a23057e811
parent3ba56d6b232f7dcbf00552af48355f0dc2d26994 (diff)
downloadu-boot-051d224566545092ec0d6df3bc3ea33780d4cc7a.tar.gz
u-boot-051d224566545092ec0d6df3bc3ea33780d4cc7a.tar.bz2
u-boot-051d224566545092ec0d6df3bc3ea33780d4cc7a.zip
w1: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/w1/mxc_w1.c1
-rw-r--r--drivers/w1/w1-gpio.c1
-rw-r--r--drivers/w1/w1-uclass.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/w1/mxc_w1.c b/drivers/w1/mxc_w1.c
index b96c1a00bf..9ebfc13c83 100644
--- a/drivers/w1/mxc_w1.c
+++ b/drivers/w1/mxc_w1.c
@@ -17,7 +17,6 @@
* Martin Fuzzey <martin.fuzzey@flowbird.group>
*/
-#include <common.h>
#include <asm/arch/clock.h>
#include <dm.h>
#include <dm/device_compat.h>
diff --git a/drivers/w1/w1-gpio.c b/drivers/w1/w1-gpio.c
index 9346f810ce..759f94e224 100644
--- a/drivers/w1/w1-gpio.c
+++ b/drivers/w1/w1-gpio.c
@@ -7,7 +7,6 @@
*
*/
-#include <common.h>
#include <dm.h>
#include <log.h>
#include <w1.h>
diff --git a/drivers/w1/w1-uclass.c b/drivers/w1/w1-uclass.c
index a4247ecd62..9637ed2425 100644
--- a/drivers/w1/w1-uclass.c
+++ b/drivers/w1/w1-uclass.c
@@ -14,7 +14,6 @@
#define LOG_CATEGORY UCLASS_W1
-#include <common.h>
#include <dm.h>
#include <errno.h>
#include <log.h>