diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:08 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | eb41d8a1befc45a30ccdab68fa3e099528486ffe (patch) | |
tree | 7169fa43e6225dcf4666f24a4ebc42dccd9fc860 /drivers/virtio | |
parent | 8ad92118dc6377d4cd4c3b784182be008c63cf16 (diff) | |
download | u-boot-eb41d8a1befc45a30ccdab68fa3e099528486ffe.tar.gz u-boot-eb41d8a1befc45a30ccdab68fa3e099528486ffe.tar.bz2 u-boot-eb41d8a1befc45a30ccdab68fa3e099528486ffe.zip |
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/virtio')
-rw-r--r-- | drivers/virtio/virtio-uclass.c | 1 | ||||
-rw-r--r-- | drivers/virtio/virtio_mmio.c | 1 | ||||
-rw-r--r-- | drivers/virtio/virtio_pci_legacy.c | 1 | ||||
-rw-r--r-- | drivers/virtio/virtio_pci_modern.c | 1 | ||||
-rw-r--r-- | drivers/virtio/virtio_ring.c | 1 | ||||
-rw-r--r-- | drivers/virtio/virtio_sandbox.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/drivers/virtio/virtio-uclass.c b/drivers/virtio/virtio-uclass.c index d4ecd16ec8..2636cbedfe 100644 --- a/drivers/virtio/virtio-uclass.c +++ b/drivers/virtio/virtio-uclass.c @@ -22,6 +22,7 @@ #include <virtio_types.h> #include <virtio.h> #include <dm/lists.h> +#include <linux/bug.h> static const char *const virtio_drv_name[VIRTIO_ID_MAX_NUM] = { [VIRTIO_ID_NET] = VIRTIO_NET_DRV_NAME, diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index 184c5f0a59..b951ea3257 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -13,6 +13,7 @@ #include <virtio_types.h> #include <virtio.h> #include <virtio_ring.h> +#include <linux/bug.h> #include <linux/compat.h> #include <linux/err.h> #include <linux/io.h> diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 79e62cfb62..fa7f2429f1 100644 --- a/drivers/virtio/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @@ -13,6 +13,7 @@ #include <virtio.h> #include <virtio_ring.h> #include <dm/device.h> +#include <linux/bug.h> #include <linux/compat.h> #include <linux/err.h> #include <linux/io.h> diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 32ce4ea5ae..64430f3b19 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -13,6 +13,7 @@ #include <virtio.h> #include <virtio_ring.h> #include <dm/device.h> +#include <linux/bug.h> #include <linux/compat.h> #include <linux/err.h> #include <linux/io.h> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 7130b8432a..7f1cbc5932 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -13,6 +13,7 @@ #include <virtio_types.h> #include <virtio.h> #include <virtio_ring.h> +#include <linux/bug.h> #include <linux/compat.h> int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[], diff --git a/drivers/virtio/virtio_sandbox.c b/drivers/virtio/virtio_sandbox.c index 61f6a96008..2a2abb9d49 100644 --- a/drivers/virtio/virtio_sandbox.c +++ b/drivers/virtio/virtio_sandbox.c @@ -10,6 +10,7 @@ #include <virtio_types.h> #include <virtio.h> #include <virtio_ring.h> +#include <linux/bug.h> #include <linux/compat.h> #include <linux/err.h> #include <linux/io.h> |