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: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
d90416c84d
commit
56004701f5
|
@ -18,6 +18,7 @@
|
|||
#include <linux/dma-direction.h>
|
||||
#include <linux/scatterlist.h>
|
||||
#include <linux/hashtable.h>
|
||||
#include <linux/bitfield.h>
|
||||
|
||||
#define HL_NAME "habanalabs"
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "habanalabs.h"
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/bitfield.h>
|
||||
|
||||
/*
|
||||
* hl_queue_add_ptr - add to pi or ci and checks if it wraps around
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "../include/hw_ip/pci/pci_general.h"
|
||||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/bitfield.h>
|
||||
|
||||
#define HL_PLDM_PCI_ELBI_TIMEOUT_MSEC (HL_PCI_ELBI_TIMEOUT_MSEC * 10)
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <linux/io-64-nonatomic-lo-hi.h>
|
||||
#include <linux/iommu.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/bitfield.h>
|
||||
|
||||
/*
|
||||
* Gaudi security scheme:
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define GAUDI_MASKS_H_
|
||||
|
||||
#include "asic_reg/gaudi_regs.h"
|
||||
#include <linux/bitfield.h>
|
||||
|
||||
/* Useful masks for bits in various registers */
|
||||
#define PCI_DMA_QMAN_ENABLE (\
|
||||
|
|
Loading…
Reference in New Issue