summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorBernard Zhao <bernard@vivo.com>2020-09-22 04:28:02 -0700
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-10-02 09:08:27 +0200
commit0626258af6eab7db900d5485e9b3710198c45d43 (patch)
treeaf70497a67d296187e83829013712ec2c69a3cf6 /drivers/mtd/maps
parentb3e79e7682e075326df8041b826b03453acacd0a (diff)
mtd: maps: vmu-flash: fix typos for struct memcard
Change struct memcard`s element "removeable" -> "removable". Signed-off-by: Bernard Zhao <bernard@vivo.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200922112814.26761-1-bernard@vivo.com
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r--drivers/mtd/maps/vmu-flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c
index 588e82de581c..a7ec947a3ebb 100644
--- a/drivers/mtd/maps/vmu-flash.c
+++ b/drivers/mtd/maps/vmu-flash.c
@@ -40,7 +40,7 @@ struct memcard {
u32 blocklen;
u32 writecnt;
u32 readcnt;
- u32 removeable;
+ u32 removable;
int partition;
int read;
unsigned char *blockread;
@@ -619,7 +619,7 @@ static int vmu_connect(struct maple_device *mdev)
card->blocklen = ((basic_flash_data >> 16 & 0xFF) + 1) << 5;
card->writecnt = basic_flash_data >> 12 & 0xF;
card->readcnt = basic_flash_data >> 8 & 0xF;
- card->removeable = basic_flash_data >> 7 & 1;
+ card->removable = basic_flash_data >> 7 & 1;
card->partition = 0;