summaryrefslogtreecommitdiff
path: root/drivers/button
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/button')
-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, 3 insertions, 0 deletions
diff --git a/drivers/button/button-adc.c b/drivers/button/button-adc.c
index da7ddf2a857..9c24c960e6f 100644
--- a/drivers/button/button-adc.c
+++ b/drivers/button/button-adc.c
@@ -5,6 +5,7 @@
* 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 43b82d98aeb..7b5b3affe2d 100644
--- a/drivers/button/button-gpio.c
+++ b/drivers/button/button-gpio.c
@@ -3,6 +3,7 @@
* 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 cda243389df..032191d61ab 100644
--- a/drivers/button/button-uclass.c
+++ b/drivers/button/button-uclass.c
@@ -7,6 +7,7 @@
#define LOG_CATEGORY UCLASS_BUTTON
+#include <common.h>
#include <button.h>
#include <dm.h>
#include <dm/uclass-internal.h>