summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 20:40:08 +0300
committerTom Rini <trini@konsulko.com>2020-05-19 04:19:23 +0300
commiteb41d8a1befc45a30ccdab68fa3e099528486ffe (patch)
tree7169fa43e6225dcf4666f24a4ebc42dccd9fc860 /drivers/gpio
parent8ad92118dc6377d4cd4c3b784182be008c63cf16 (diff)
downloadu-boot-eb41d8a1befc45a30ccdab68fa3e099528486ffe.tar.xz
common: Drop linux/bug.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/adi_gpio2.c1
-rw-r--r--drivers/gpio/sh_pfc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/adi_gpio2.c b/drivers/gpio/adi_gpio2.c
index 9d293b6994..d0849c85c3 100644
--- a/drivers/gpio/adi_gpio2.c
+++ b/drivers/gpio/adi_gpio2.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <malloc.h>
+#include <linux/bug.h>
#include <linux/errno.h>
#include <asm/gpio.h>
diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c
index 0b412c2e0c..00b806e6a6 100644
--- a/drivers/gpio/sh_pfc.c
+++ b/drivers/gpio/sh_pfc.c
@@ -15,6 +15,7 @@
#include <asm/bitops.h>
#include <asm/io.h>
#include <sh_pfc.h>
+#include <linux/bug.h>
static struct pinmux_info *gpioc;