diff options
author | Dotan Barak <dbarak@habana.ai> | 2019-02-27 09:55:57 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-02-27 09:55:57 +0200 |
commit | 5eb420446a595ee111828641bff1f3a125fc5c0d (patch) | |
tree | f888d167421338e2730f9e68d616b9c38db22929 | |
parent | b24ca4587e2b940b22de4490209b8d785bf487a5 (diff) | |
download | linux-5eb420446a595ee111828641bff1f3a125fc5c0d.tar.bz2 |
habanalabs: remove implicit include from header files
This will prevent unneeded include of header files, which may increase
compilation time.
Signed-off-by: Dotan Barak <dbarak@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
-rw-r--r-- | drivers/misc/habanalabs/goya/goya_security.c | 1 | ||||
-rw-r--r-- | drivers/misc/habanalabs/include/goya/goya.h | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/misc/habanalabs/goya/goya_security.c b/drivers/misc/habanalabs/goya/goya_security.c index 575003238401..9d2dee67e46f 100644 --- a/drivers/misc/habanalabs/goya/goya_security.c +++ b/drivers/misc/habanalabs/goya/goya_security.c @@ -6,6 +6,7 @@ */ #include "goyaP.h" +#include "include/goya/asic_reg/goya_regs.h" /* * goya_set_block_as_protected - set the given block as protected diff --git a/drivers/misc/habanalabs/include/goya/goya.h b/drivers/misc/habanalabs/include/goya/goya.h index 614149efa412..3f02a52ba4ce 100644 --- a/drivers/misc/habanalabs/include/goya/goya.h +++ b/drivers/misc/habanalabs/include/goya/goya.h @@ -8,10 +8,6 @@ #ifndef GOYA_H #define GOYA_H -#include "asic_reg/goya_regs.h" - -#include <linux/types.h> - #define SRAM_CFG_BAR_ID 0 #define MSIX_BAR_ID 2 #define DDR_BAR_ID 4 |