summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/lightnvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lightnvm/lightnvm.h')
-rw-r--r--drivers/lightnvm/lightnvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/lightnvm.h b/drivers/lightnvm/lightnvm.h
index 93f1aacc9f02..305c181509a6 100644
--- a/drivers/lightnvm/lightnvm.h
+++ b/drivers/lightnvm/lightnvm.h
@@ -24,7 +24,7 @@
#include <linux/lightnvm.h>
/* core -> sysfs.c */
-int nvm_sysfs_register_dev(struct nvm_dev *);
+int __must_check nvm_sysfs_register_dev(struct nvm_dev *);
void nvm_sysfs_unregister_dev(struct nvm_dev *);
int nvm_sysfs_register(void);
void nvm_sysfs_unregister(void);