diff options
Diffstat (limited to 'drivers/mtd/devices/block2mtd.c')
-rw-r--r-- | drivers/mtd/devices/block2mtd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index ad1880c67518..519d942e7940 100644 --- a/drivers/mtd/devices/block2mtd.c +++ b/drivers/mtd/devices/block2mtd.c | |||
@@ -305,7 +305,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size) | |||
305 | } | 305 | } |
306 | list_add(&dev->list, &blkmtd_device_list); | 306 | list_add(&dev->list, &blkmtd_device_list); |
307 | INFO("mtd%d: [%s] erase_size = %dKiB [%d]", dev->mtd.index, | 307 | INFO("mtd%d: [%s] erase_size = %dKiB [%d]", dev->mtd.index, |
308 | dev->mtd.name + strlen("blkmtd: "), | 308 | dev->mtd.name + strlen("block2mtd: "), |
309 | dev->mtd.erasesize >> 10, dev->mtd.erasesize); | 309 | dev->mtd.erasesize >> 10, dev->mtd.erasesize); |
310 | return dev; | 310 | return dev; |
311 | 311 | ||
@@ -366,9 +366,9 @@ static inline void kill_final_newline(char *str) | |||
366 | } | 366 | } |
367 | 367 | ||
368 | 368 | ||
369 | #define parse_err(fmt, args...) do { \ | 369 | #define parse_err(fmt, args...) do { \ |
370 | ERROR("block2mtd: " fmt "\n", ## args); \ | 370 | ERROR(fmt, ## args); \ |
371 | return 0; \ | 371 | return 0; \ |
372 | } while (0) | 372 | } while (0) |
373 | 373 | ||
374 | #ifndef MODULE | 374 | #ifndef MODULE |
@@ -473,7 +473,7 @@ static void __devexit block2mtd_exit(void) | |||
473 | block2mtd_sync(&dev->mtd); | 473 | block2mtd_sync(&dev->mtd); |
474 | del_mtd_device(&dev->mtd); | 474 | del_mtd_device(&dev->mtd); |
475 | INFO("mtd%d: [%s] removed", dev->mtd.index, | 475 | INFO("mtd%d: [%s] removed", dev->mtd.index, |
476 | dev->mtd.name + strlen("blkmtd: ")); | 476 | dev->mtd.name + strlen("block2mtd: ")); |
477 | list_del(&dev->list); | 477 | list_del(&dev->list); |
478 | block2mtd_free_device(dev); | 478 | block2mtd_free_device(dev); |
479 | } | 479 | } |