[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201015001328.GA31200@033f2984987c>
Date: Thu, 15 Oct 2020 08:13:28 +0800
From: kernel test robot <lkp@...el.com>
To: Michael Auchter <michael.auchter@...com>,
srinivas.kandagatla@...aro.org, pantelis.antoniou@...sulko.com,
frowand.list@...il.com
Cc: kbuild-all@...ts.01.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Michael Auchter <michael.auchter@...com>
Subject: [RFC PATCH] nvmem: core: nvmem_of_notifier can be static
Signed-off-by: kernel test robot <lkp@...el.com>
---
core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 859431c15d5bc3..6dd79075fdd9b0 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -1671,7 +1671,7 @@ static int of_nvmem_notify(struct notifier_block *nb, unsigned long action,
return NOTIFY_OK;
}
-struct notifier_block nvmem_of_notifier = {
+static struct notifier_block nvmem_of_notifier = {
.notifier_call = of_nvmem_notify,
};
#endif /* CONFIG_OF_DYNAMIC */
Powered by blists - more mailing lists