summaryrefslogtreecommitdiffstats
path: root/include/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nand.h b/include/nand.h
index b1762dfa45..a0e77cc8cd 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -5,10 +5,10 @@
struct nand_bb;
#ifdef CONFIG_NAND
-int dev_add_bb_dev(char *filename, const char *name);
+int dev_add_bb_dev(const char *filename, const char *name);
int dev_remove_bb_dev(const char *name);
#else
-static inline int dev_add_bb_dev(char *filename, const char *name) {
+static inline int dev_add_bb_dev(const char *filename, const char *name) {
return 0;
}
static inline int dev_remove_bb_dev(const char *name)