summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/linux/soc/ti/cppi5.h1
-rw-r--r--include/virtio.h1
3 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 976046e620..711d409d47 100644
--- a/include/common.h
+++ b/include/common.h
@@ -17,7 +17,6 @@
#include <errno.h>
#include <time.h>
#include <linux/bitops.h>
-#include <linux/bug.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/printk.h>
diff --git a/include/linux/soc/ti/cppi5.h b/include/linux/soc/ti/cppi5.h
index 34038b31f7..cfdf7ea29f 100644
--- a/include/linux/soc/ti/cppi5.h
+++ b/include/linux/soc/ti/cppi5.h
@@ -10,6 +10,7 @@
#include <hexdump.h>
#include <linux/bitops.h>
+#include <linux/bug.h>
/**
* Descriptor header, present in all types of descriptors
diff --git a/include/virtio.h b/include/virtio.h
index 561dcc34ba..46f9efb732 100644
--- a/include/virtio.h
+++ b/include/virtio.h
@@ -20,6 +20,7 @@
#ifndef __VIRTIO_H__
#define __VIRTIO_H__
+#include <linux/bug.h>
#define VIRTIO_ID_NET 1 /* virtio net */
#define VIRTIO_ID_BLOCK 2 /* virtio block */
#define VIRTIO_ID_RNG 4 /* virtio rng */