hid_warn_once() is needed. Add the others as part of the block.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1171,4 +1171,15 @@ do { \ · 1170 unmodified lines | |||
| 1171 | #define hid_dbg(hid, fmt, ...) \ | 1171 | #define hid_dbg(hid, fmt, ...) \ |
| 1172 | dev_dbg(&(hid)->dev, fmt, ##__VA_ARGS__) | 1172 | dev_dbg(&(hid)->dev, fmt, ##__VA_ARGS__) |
| 1173 | 1173 | ||
| 1174 | #define hid_err_once(hid, fmt, ...) \ | ||
| 1175 | dev_err_once(&(hid)->dev, fmt, ##__VA_ARGS__) | ||
| 1176 | #define hid_notice_once(hid, fmt, ...) \ | ||
| 1177 | dev_notice_once(&(hid)->dev, fmt, ##__VA_ARGS__) | ||
| 1178 | #define hid_warn_once(hid, fmt, ...) \ | ||
| 1179 | dev_warn_once(&(hid)->dev, fmt, ##__VA_ARGS__) | ||
| 1180 | #define hid_info_once(hid, fmt, ...) \ | ||
| 1181 | dev_info_once(&(hid)->dev, fmt, ##__VA_ARGS__) | ||
| 1182 | #define hid_dbg_once(hid, fmt, ...) \ | ||
| 1183 | dev_dbg_once(&(hid)->dev, fmt, ##__VA_ARGS__) | ||
| 1184 | |||
| 1174 | #endif | 1185 | #endif |