aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/pvblock.c
diff options
context:
space:
mode:
authorPatrick Delaunay2021-04-27 11:02:19 +0200
committerSimon Glass2021-07-06 10:38:03 -0600
commitb953ec2bca1ebe059366e870eb4bec5e7af9c36b (patch)
tree7068f05d7cbf19465df4a6c87b29a3599c5de654 /drivers/xen/pvblock.c
parent85f718f64d65390f385111e57cfa017abd12879d (diff)
dm: define LOG_CATEGORY for all uclass
Define LOG_CATEGORY for all uclass to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/xen/pvblock.c')
-rw-r--r--drivers/xen/pvblock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/xen/pvblock.c b/drivers/xen/pvblock.c
index 1c5d039ef05..c25c3ea4fff 100644
--- a/drivers/xen/pvblock.c
+++ b/drivers/xen/pvblock.c
@@ -3,6 +3,9 @@
* (C) 2007-2008 Samuel Thibault.
* (C) Copyright 2020 EPAM Systems Inc.
*/
+
+#define LOG_CATEGORY UCLASS_PVBLOCK
+
#include <blk.h>
#include <common.h>
#include <dm.h>