diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index f0cc3983ffeeb738a30d516dc22f96bc892c68b9..cc3dfd66f395e515e39c76453ad848f5eddf1f1f 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -34,6 +34,8 @@ #include "dummy.h" +#define rdev_crit(rdev, fmt, ...) \ + pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) #define rdev_err(rdev, fmt, ...) \ pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) #define rdev_warn(rdev, fmt, ...) \