Re: [LEDE-DEV] [PATCH 2/3] mtd: ubiblock: introduce ubiblock_create_dev

2016-08-28 Thread Boris Brezillon
On Sat, 27 Aug 2016 21:44:16 +0200 Daniel Golle wrote: > Define function ubiblock_create_dev(char *name, dev_t *bdev) > which returns the created device by setting the point bdev. > This is useful for in-kernel users creating a ubiblock device > in order to mount the root filesystem. No specific

[LEDE-DEV] [PATCH 2/3] mtd: ubiblock: introduce ubiblock_create_dev

2016-08-27 Thread Daniel Golle
Define function ubiblock_create_dev(char *name, dev_t *bdev) which returns the created device by setting the point bdev. This is useful for in-kernel users creating a ubiblock device in order to mount the root filesystem. Signed-off-by: Daniel Golle --- drivers/mtd/ubi/block.c | 11 ++-