diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-16 10:40:22 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 06:34:45 -0400 |
commit | c8566350a3229ca505b84313c65d1403b4d0cbfc (patch) | |
tree | 156309b71de9779948fdab03a2831b41fe6ca159 /drivers/mtd/ubi/build.c | |
parent | 85c6e6e28259e9b58b8984db536c45bc3161f40c (diff) |
UBI: fix and re-work debugging stuff
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
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); |