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>
This commit is contained in:
Simon Glass
2020-05-10 11:40:08 -06:00
committed by Tom Rini
parent 8ad92118dc
commit eb41d8a1be
86 changed files with 85 additions and 1 deletions

View File

@@ -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>

View File

@@ -10,6 +10,7 @@
#include <hexdump.h>
#include <linux/bitops.h>
#include <linux/bug.h>
/**
* Descriptor header, present in all types of descriptors

View File

@@ -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 */