UBI: Fix build problem noticed on Apollon (arm/testing repo)
authorStefan Roese <sr@denx.de>
Mon, 29 Jun 2009 11:30:50 +0000 (13:30 +0200)
committerStefan Roese <sr@denx.de>
Tue, 7 Jul 2009 14:33:44 +0000 (16:33 +0200)
commitd318d0c44d8e91e937c4dad0c5b1d2f6bb9d9fd8
tree46abe0601eb6341adcf4968c0cd837e88b6b682d
parent3e88337b225bf796f6df21d0a7f591530e9d4ce0
UBI: Fix build problem noticed on Apollon (arm/testing repo)

This patch fixes a build problem noticed on Apollon by using
mtd_dev_by_eb() instead of "/" as done in the Linux UBI version.
So this brings the U-Boot UBI version more in sync with the Linux
version again.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/ubi/build.c