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:
kbuild test robot 2020-04-06 00:01:31 +08:00 коммит произвёл Oded Gabbay
Родитель 926ba4cce1
Коммит ba7193c952
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;