diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index a63b563b1a8a..eb9ab1ae3719 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c @@ -999,7 +999,7 @@ static int nvm_core_init(struct nvm_dev *dev) return ret; } -void nvm_free(struct nvm_dev *dev) +static void nvm_free(struct nvm_dev *dev) { if (!dev) return;