diff options
author | Tomer Tayar | 2019-04-10 15:18:46 +0300 |
---|---|---|
committer | Oded Gabbay | 2019-04-10 15:18:46 +0300 |
commit | e00dac3daaa75fc91ec67f656ca56859075059c8 (patch) | |
tree | ba3a4db07127b38484573e63a2fe2cd4acedfcaa /Makefile | |
parent | 78e6427b4e7b017951785982f7f97cf64e2d624b (diff) |
habanalabs: Cancel pr_fmt() definition dependency on includes order
pr_fmt() should be defined before including linux/printk.h, either
directly or indirectly, in order to avoid redefinition of the macro.
Currently the macro definition is in habanalabs.h, which is included in
many files, and that makes the addition/reorder of includes to be prone
to compilation errors.
This patch cancels this dependency by defining the macro only in the few
source files that use it.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions