Commit 56004701 authored by Tomer Tayar's avatar Tomer Tayar Committed by Oded Gabbay

habanalabs: Include linux/bitfield.h only in habanalabs.h

Include linux/bitfield.h only in habanalabs.h, instead of in each and
every file that needs it, as habanalabs.h is already included by all.
Signed-off-by: default avatarTomer Tayar <ttayar@habana.ai>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent d90416c8
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/dma-direction.h> #include <linux/dma-direction.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/hashtable.h> #include <linux/hashtable.h>
#include <linux/bitfield.h>
#define HL_NAME "habanalabs" #define HL_NAME "habanalabs"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "habanalabs.h" #include "habanalabs.h"
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/bitfield.h>
/* /*
* hl_queue_add_ptr - add to pi or ci and checks if it wraps around * hl_queue_add_ptr - add to pi or ci and checks if it wraps around
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "../include/hw_ip/pci/pci_general.h" #include "../include/hw_ip/pci/pci_general.h"
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/bitfield.h>
#define HL_PLDM_PCI_ELBI_TIMEOUT_MSEC (HL_PCI_ELBI_TIMEOUT_MSEC * 10) #define HL_PLDM_PCI_ELBI_TIMEOUT_MSEC (HL_PCI_ELBI_TIMEOUT_MSEC * 10)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <linux/io-64-nonatomic-lo-hi.h> #include <linux/io-64-nonatomic-lo-hi.h>
#include <linux/iommu.h> #include <linux/iommu.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/bitfield.h>
/* /*
* Gaudi security scheme: * Gaudi security scheme:
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#define GAUDI_MASKS_H_ #define GAUDI_MASKS_H_
#include "asic_reg/gaudi_regs.h" #include "asic_reg/gaudi_regs.h"
#include <linux/bitfield.h>
/* Useful masks for bits in various registers */ /* Useful masks for bits in various registers */
#define PCI_DMA_QMAN_ENABLE (\ #define PCI_DMA_QMAN_ENABLE (\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment