UBI: fix compile warning
authorPaul Mundt <lethal@linux-sh.org>
Wed, 18 Jul 2007 09:39:45 +0000 (18:39 +0900)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:59:17 +0000 (16:59 +0300)
commitadd0b43ca67bf281ef7ac8ab47e9ee7b2d97a69f
tree7a7aaab48f6ac1cff65ad920e306ffe79620fb47
parent784c145444e7dd58ae740d406155b72ac658f151
UBI: fix compile warning

cdev.c whines in current git:

drivers/mtd/ubi/cdev.c: In function `major_to_device':
drivers/mtd/ubi/cdev.c:67: warning: control reaches end of non-void function

Shut it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c