diff options
| author | Patrick Delaunay <[email protected]> | 2021-04-27 11:02:19 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-07-06 10:38:03 -0600 |
| commit | b953ec2bca1ebe059366e870eb4bec5e7af9c36b (patch) | |
| tree | 7068f05d7cbf19465df4a6c87b29a3599c5de654 /drivers/power | |
| parent | 85f718f64d65390f385111e57cfa017abd12879d (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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/power')
| -rw-r--r-- | drivers/power/domain/power-domain-uclass.c | 2 | ||||
| -rw-r--r-- | drivers/power/pmic/pmic-uclass.c | 2 | ||||
| -rw-r--r-- | drivers/power/regulator/regulator-uclass.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/domain/power-domain-uclass.c b/drivers/power/domain/power-domain-uclass.c index af829db9da1..00d1489ea20 100644 --- a/drivers/power/domain/power-domain-uclass.c +++ b/drivers/power/domain/power-domain-uclass.c @@ -3,6 +3,8 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ +#define LOG_CATEGORY UCLASS_POWER_DOMAIN + #include <common.h> #include <dm.h> #include <log.h> diff --git a/drivers/power/pmic/pmic-uclass.c b/drivers/power/pmic/pmic-uclass.c index 79166b8bbcd..5dcf6d8079d 100644 --- a/drivers/power/pmic/pmic-uclass.c +++ b/drivers/power/pmic/pmic-uclass.c @@ -4,6 +4,8 @@ * Przemyslaw Marczak <[email protected]> */ +#define LOG_CATEGORY UCLASS_PMIC + #include <common.h> #include <fdtdec.h> #include <errno.h> diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index fac96068233..aca00e56bbe 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -4,6 +4,8 @@ * Przemyslaw Marczak <[email protected]> */ +#define LOG_CATEGORY UCLASS_REGULATOR + #include <common.h> #include <errno.h> #include <dm.h> |
