2
0
forked from Ivasoft/openwrt

kernel: rename mtdpart_get_master to mtd_get_master

Preparation for supporting newer kernels

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2020-10-17 17:21:12 +02:00
parent 5d76065629
commit f307684ab2
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ mtdsplit_parse_squashfs(struct mtd_info *master,
if (err)
return err;
parent_mtd = mtdpart_get_master(master);
parent_mtd = mtd_get_master(master);
part_offset = mtdpart_get_offset(master);
part = kzalloc(sizeof(*part), GFP_KERNEL);