summaryrefslogtreecommitdiff
path: root/drivers/dma/dma-uclass.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-04-27 11:02:19 +0200
committerSimon Glass <sjg@chromium.org>2021-07-06 10:38:03 -0600
commitb953ec2bca1ebe059366e870eb4bec5e7af9c36b (patch)
tree7068f05d7cbf19465df4a6c87b29a3599c5de654 /drivers/dma/dma-uclass.c
parent85f718f64d65390f385111e57cfa017abd12879d (diff)
downloadu-boot-b953ec2bca1ebe059366e870eb4bec5e7af9c36b.tar.gz
u-boot-b953ec2bca1ebe059366e870eb4bec5e7af9c36b.tar.bz2
u-boot-b953ec2bca1ebe059366e870eb4bec5e7af9c36b.zip
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/dma/dma-uclass.c')
-rw-r--r--drivers/dma/dma-uclass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c
index a93b0b7ba0..652ddbb62b 100644
--- a/drivers/dma/dma-uclass.c
+++ b/drivers/dma/dma-uclass.c
@@ -9,6 +9,8 @@
* Author: Mugunthan V N <mugunthanvnm@ti.com>
*/
+#define LOG_CATEGORY UCLASS_DMA
+
#include <common.h>
#include <cpu_func.h>
#include <dm.h>