diff options
Diffstat (limited to 'drivers/misc/mei/client.h')
-rw-r--r-- | drivers/misc/mei/client.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index 9eb031e92070..6374ed99e233 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h | |||
@@ -109,4 +109,13 @@ void mei_cl_all_disconnect(struct mei_device *dev); | |||
109 | void mei_cl_all_wakeup(struct mei_device *dev); | 109 | void mei_cl_all_wakeup(struct mei_device *dev); |
110 | void mei_cl_all_write_clear(struct mei_device *dev); | 110 | void mei_cl_all_write_clear(struct mei_device *dev); |
111 | 111 | ||
112 | #define MEI_CL_FMT "cl:host=%02d me=%02d " | ||
113 | #define MEI_CL_PRM(cl) (cl)->host_client_id, (cl)->me_client_id | ||
114 | |||
115 | #define cl_dbg(dev, cl, format, arg...) \ | ||
116 | dev_dbg(&(dev)->pdev->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) | ||
117 | |||
118 | #define cl_err(dev, cl, format, arg...) \ | ||
119 | dev_err(&(dev)->pdev->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) | ||
120 | |||
112 | #endif /* _MEI_CLIENT_H_ */ | 121 | #endif /* _MEI_CLIENT_H_ */ |