crypto: inside-secure - Made locally used safexcel_pci_remove() static

safexcel_pci_remove() is only used locally in the module and not exported,
so added a static function specifier.
This fixes a sparse issue reported by Ben Dooks.

Fixes: 625f269a5a ("crypto: inside-secure - add support for...")
Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Pascal van Leeuwen 2019-10-17 17:49:09 +02:00 committed by Herbert Xu
parent 756497cb7b
commit e9fc36719b
1 changed files with 1 additions and 1 deletions

View File

@ -1880,7 +1880,7 @@ static int safexcel_pci_probe(struct pci_dev *pdev,
return rc; return rc;
} }
void safexcel_pci_remove(struct pci_dev *pdev) static void safexcel_pci_remove(struct pci_dev *pdev)
{ {
struct safexcel_crypto_priv *priv = pci_get_drvdata(pdev); struct safexcel_crypto_priv *priv = pci_get_drvdata(pdev);
int i; int i;