add pr_err and pr_warn macros
This variant will be used in the j19393-timeday code. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>pull/524/head
parent
72d097b2f9
commit
69c1e8289d
|
|
@ -22,6 +22,8 @@ struct regmap {
|
|||
};
|
||||
|
||||
#define pr_info(...) fprintf(stdout, ## __VA_ARGS__)
|
||||
#define pr_err(...) fprintf(stderr, ## __VA_ARGS__)
|
||||
#define pr_warn(...) fprintf(stderr, ## __VA_ARGS__)
|
||||
#define pr_cont(...) fprintf(stdout, ## __VA_ARGS__)
|
||||
#define netdev_info(ndev, ...) fprintf(stdout, ## __VA_ARGS__)
|
||||
#define BUILD_BUG_ON(...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue