diff options
Diffstat (limited to 'drivers/mtd/ubi/build.c')
-rw-r--r-- | drivers/mtd/ubi/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 27271fe32e02..7210e1da1fcb 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c | |||
@@ -403,7 +403,7 @@ static int uif_init(struct ubi_device *ubi) | |||
403 | 403 | ||
404 | ubi_assert(MINOR(dev) == 0); | 404 | ubi_assert(MINOR(dev) == 0); |
405 | cdev_init(&ubi->cdev, &ubi_cdev_operations); | 405 | cdev_init(&ubi->cdev, &ubi_cdev_operations); |
406 | dbg_msg("%s major is %u", ubi->ubi_name, MAJOR(dev)); | 406 | dbg_gen("%s major is %u", ubi->ubi_name, MAJOR(dev)); |
407 | ubi->cdev.owner = THIS_MODULE; | 407 | ubi->cdev.owner = THIS_MODULE; |
408 | 408 | ||
409 | err = cdev_add(&ubi->cdev, dev, 1); | 409 | err = cdev_add(&ubi->cdev, dev, 1); |