ocxl: Make ocxl_remove() static
Fix sparse warning: drivers/misc/ocxl/pci.c:44:6: warning: symbol 'ocxl_remove' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
d667edc01b
commit
00b0cdbbc8
|
@ -41,7 +41,7 @@ static int ocxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void ocxl_remove(struct pci_dev *dev)
|
||||
static void ocxl_remove(struct pci_dev *dev)
|
||||
{
|
||||
struct ocxl_fn *fn;
|
||||
struct ocxl_afu *afu;
|
||||
|
|
Loading…
Reference in New Issue