From: YueHaibing Date: Sat, 4 May 2019 10:27:20 +0000 (+0800) Subject: ocxl: Make ocxl_remove() static X-Git-Tag: v5.15~5945^2~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00b0cdbbc87fb4b531a0d75f4004ed3d89999b80;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: YueHaibing Acked-by: Andrew Donnellan Signed-off-by: Michael Ellerman --- diff --git a/drivers/misc/ocxl/pci.c b/drivers/misc/ocxl/pci.c index f2a3ef4..cb920aa 100644 --- a/drivers/misc/ocxl/pci.c +++ b/drivers/misc/ocxl/pci.c @@ -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;