mtd: mtdraw: drop ioctl callback for mtdraw device
Do not call mtd_ioctl for mtdraw devices. mtd_ioctl will derefence
the priv pointer to a struct mtd_info whereas with mtdraw devices it will be
a struct mtdraw pointer. We do not need ioctls for mtdraw devices, so drop
it instead of fixing it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3febd4d commit 6e66ab7a53a277987505eee2df5a71ae12c51318
@Sascha Hauer Sascha Hauer authored on 2 Dec 2013
Showing 1 changed file
View
drivers/mtd/mtdraw.c