projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926ba4c
)
habanalabs: hl_pci_set_dma_mask() can be static
author
kbuild test robot
<lkp@intel.com>
Sun, 5 Apr 2020 16:01:31 +0000
(
00:01
+0800)
committer
Oded Gabbay
<oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000
(14:48 +0300)
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>
drivers/misc/habanalabs/pci.c
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/pci.c
b/drivers/misc/habanalabs/pci.c
index 0aef4af9f5ec8a7b8fb1beb33c002990b62304c5..9f634ef6f5b374c7f52071808f35b6463069bf0a 100644
(file)
--- a/
drivers/misc/habanalabs/pci.c
+++ b/
drivers/misc/habanalabs/pci.c
@@
-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;