mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
virtio: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
a2955579e7
commit
3ba56d6b23
@ -17,7 +17,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <common.h>
|
||||
#include <bootdev.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <dm.h>
|
||||
#include <part.h>
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
* Ported from Linux drivers/virtio/virtio_mmio.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <net.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
* Ported from Linux drivers/virtio/virtio_pci*.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
* Ported from Linux drivers/virtio/virtio_pci*.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include <bouncebuf.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
* Copyright (c) 2019, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <rng.h>
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
* VirtIO Sandbox transport driver, for testing purpose only
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <virtio_types.h>
|
||||
#include <virtio.h>
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include <virtio_types.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/bug.h>
|
||||
#include <linux/typecheck.h>
|
||||
#define VIRTIO_ID_NET 1 /* virtio net */
|
||||
#define VIRTIO_ID_BLOCK 2 /* virtio block */
|
||||
#define VIRTIO_ID_RNG 4 /* virtio rng */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user