virtio: Set the log-category for all drivers
Most drivers have the log-category set but not all. Fill this in for the rest. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
* Ported from Linux drivers/virtio/virtio_mmio.c
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <dm.h>
|
||||
#include <net.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* Ported from Linux drivers/virtio/virtio_pci*.c
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* Ported from Linux drivers/virtio/virtio_pci*.c
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <virtio_types.h>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* virtio ring implementation
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <bouncebuf.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* VirtIO Sandbox transport driver, for testing purpose only
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_VIRTIO
|
||||
|
||||
#include <dm.h>
|
||||
#include <virtio_types.h>
|
||||
#include <virtio.h>
|
||||
|
||||
Reference in New Issue
Block a user