habanalabs: hl_pci_set_dma_mask() can be static
set function to be static as it is not called from outside its file. Signed-off-by: kbuild test robot <lkp@intel.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
Родитель
926ba4cce1
Коммит
ba7193c952
|
@ -320,7 +320,7 @@ int hl_pci_init_iatu(struct hl_device *hdev, u64 sram_base_address,
|
|||
*
|
||||
* Return: 0 on success, non-zero for failure.
|
||||
*/
|
||||
int hl_pci_set_dma_mask(struct hl_device *hdev)
|
||||
static int hl_pci_set_dma_mask(struct hl_device *hdev)
|
||||
{
|
||||
struct pci_dev *pdev = hdev->pdev;
|
||||
int rc;
|
||||
|
|
Загрузка…
Ссылка в новой задаче