mtd: ubi: introduce barebox specific ioctl to get ubi_num
Code wishing to manipulate ubi devices from outside the ubi
layer needs the ubi_num as reference. Add an ioctl to get
the ubi_num from a filedescriptor.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 85dccb9 commit 0f5b72a110b1267e7b101a60b7df7f2ff2985cf6
@Sascha Hauer Sascha Hauer authored on 22 Sep 2016
Showing 2 changed files
View
drivers/mtd/ubi/barebox.c
View
include/mtd/ubi-user.h