forked from luck/tmp_suning_uos_patched
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
This commit is contained in:
parent
b3e79e7682
commit
0626258af6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user