Skip to content
Snippets Groups Projects
Commit cd33af45 authored by Grzegorz Sluja's avatar Grzegorz Sluja
Browse files

Change debug macros in easy-soc-lib


Macros like err, info caused problems in compilation so changed macros
used in libeasy debug to pr_error, pr_warn, pr_info, pr_debug

Signed-off-by: default avatarGrzegorz Sluja <grzegorz.sluja@iopsys.eu>
parent cb3cb784
No related branches found
No related tags found
No related merge requests found
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
extern "C" { extern "C" {
#endif #endif
#define libethernet_err(...) err("libethernet: " __VA_ARGS__) #define libethernet_err(...) pr_error("libethernet: " __VA_ARGS__)
#define libethernet_warn(...) warn("libethernet: " __VA_ARGS__) #define libethernet_warn(...) pr_warn("libethernet: " __VA_ARGS__)
#define libethernet_info(...) inf("libethernet: " __VA_ARGS__) #define libethernet_info(...) pr_info("libethernet: " __VA_ARGS__)
#define libethernet_dbg(...) dbg("libethernet: " __VA_ARGS__) #define libethernet_dbg(...) pr_debug("libethernet: " __VA_ARGS__)
/* enum eth_duplex - duplex modes */ /* enum eth_duplex - duplex modes */
enum eth_duplex { enum eth_duplex {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment