aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:30:34 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:41 -0600
commit72d31d97670e79e713609f04f30abe7ddd05a329 (patch)
treedd43ad2a92f5c7cd6ebeb2e05d9e2baf2744dcea
parent4fa3470efd7cf9edeb51d2c81bc8d0d6e80b6622 (diff)
downloadu-boot-72d31d97670e79e713609f04f30abe7ddd05a329.zip
u-boot-72d31d97670e79e713609f04f30abe7ddd05a329.tar.gz
u-boot-72d31d97670e79e713609f04f30abe7ddd05a329.tar.bz2
button: 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/button/button-adc.c1
-rw-r--r--drivers/button/button-gpio.c1
-rw-r--r--drivers/button/button-uclass.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/button/button-adc.c b/drivers/button/button-adc.c
index 9c24c96..da7ddf2 100644
--- a/drivers/button/button-adc.c
+++ b/drivers/button/button-adc.c
@@ -5,7 +5,6 @@
* Author: Marek Szyprowski <m.szyprowski@samsung.com>
*/
-#include <common.h>
#include <adc.h>
#include <button.h>
#include <log.h>
diff --git a/drivers/button/button-gpio.c b/drivers/button/button-gpio.c
index 7b5b3af..43b82d9 100644
--- a/drivers/button/button-gpio.c
+++ b/drivers/button/button-gpio.c
@@ -3,7 +3,6 @@
* Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
*/
-#include <common.h>
#include <button.h>
#include <dm.h>
#include <dm/lists.h>
diff --git a/drivers/button/button-uclass.c b/drivers/button/button-uclass.c
index 032191d..cda2433 100644
--- a/drivers/button/button-uclass.c
+++ b/drivers/button/button-uclass.c
@@ -7,7 +7,6 @@
#define LOG_CATEGORY UCLASS_BUTTON
-#include <common.h>
#include <button.h>
#include <dm.h>
#include <dm/uclass-internal.h>