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:
Simon Glass
2025-07-06 10:51:53 +02:00
parent 9a4aa22a70
commit ad1a301a16
6 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -6,6 +6,8 @@
* virtio ring implementation
*/
#define LOG_CATEGORY UCLASS_VIRTIO
#include <bouncebuf.h>
#include <dm.h>
#include <log.h>

View File

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