Messages in this thread Patch in this message | | | Date | Thu, 15 Oct 2020 08:13:28 +0800 | From | kernel test robot <> | Subject | [RFC PATCH] nvmem: core: nvmem_of_notifier can be static |
| |
Signed-off-by: kernel test robot <lkp@intel.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 */
| |