diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-04-27 11:02:19 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-07-06 10:38:03 -0600 |
commit | b953ec2bca1ebe059366e870eb4bec5e7af9c36b (patch) | |
tree | 7068f05d7cbf19465df4a6c87b29a3599c5de654 /drivers/i2c | |
parent | 85f718f64d65390f385111e57cfa017abd12879d (diff) | |
download | u-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/i2c')
-rw-r--r-- | drivers/i2c/i2c-emul-uclass.c | 2 | ||||
-rw-r--r-- | drivers/i2c/i2c-uclass.c | 2 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-uclass.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-emul-uclass.c b/drivers/i2c/i2c-emul-uclass.c index 7917b63c55..aeec6aa9fa 100644 --- a/drivers/i2c/i2c-emul-uclass.c +++ b/drivers/i2c/i2c-emul-uclass.c @@ -3,6 +3,8 @@ * Copyright (c) 2014 Google, Inc */ +#define LOG_CATEGORY UCLASS_I2C_EMUL + #include <common.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index be56785217..04c88503a2 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -3,6 +3,8 @@ * Copyright (c) 2014 Google, Inc */ +#define LOG_CATEGORY UCLASS_I2C + #include <common.h> #include <dm.h> #include <errno.h> diff --git a/drivers/i2c/muxes/i2c-mux-uclass.c b/drivers/i2c/muxes/i2c-mux-uclass.c index dbca409ee3..a5d1bb0576 100644 --- a/drivers/i2c/muxes/i2c-mux-uclass.c +++ b/drivers/i2c/muxes/i2c-mux-uclass.c @@ -4,6 +4,8 @@ * Written by Simon Glass <sjg@chromium.org> */ +#define LOG_CATEGORY UCLASS_I2C_MUX + #include <common.h> #include <dm.h> #include <errno.h> |