aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/mtd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-10-17 17:21:12 +0200
committerFelix Fietkau <nbd@nbd.name>2020-11-13 13:16:51 +0100
commitf307684ab2e03c37028aff6087d700fb48935648 (patch)
tree0fb0e7a1da81ac0f257b9ae150851ef74680492d /target/linux/generic/files/drivers/mtd
parent5d7606562940b52206712bb4bc274ad39521c3e1 (diff)
downloadupstream-f307684ab2e03c37028aff6087d700fb48935648.tar.gz
upstream-f307684ab2e03c37028aff6087d700fb48935648.tar.bz2
upstream-f307684ab2e03c37028aff6087d700fb48935648.zip
kernel: rename mtdpart_get_master to mtd_get_master
Preparation for supporting newer kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/files/drivers/mtd')
-rw-r--r--target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c
index 79e1f73bca..f6353da65b 100644
--- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c
+++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c
@@ -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);