projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'v3.0' into x86/vdso
[cascardo/linux.git]
/
drivers
/
mtd
/
nand
/
rtc_from4.c
diff --git
a/drivers/mtd/nand/rtc_from4.c
b/drivers/mtd/nand/rtc_from4.c
index
67440b5
..
c9f9127
100644
(file)
--- a/
drivers/mtd/nand/rtc_from4.c
+++ b/
drivers/mtd/nand/rtc_from4.c
@@
-580,7
+580,8
@@
static int __init rtc_from4_init(void)
#endif
/* Register the partitions */
- ret = add_mtd_partitions(rtc_from4_mtd, partition_info, NUM_PARTITIONS);
+ ret = mtd_device_register(rtc_from4_mtd, partition_info,
+ NUM_PARTITIONS);
if (ret)
goto err_3;