mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
rkemmc: msdos: check_partition: fixed usb check error
This commit is contained in:
@@ -442,7 +442,7 @@ int msdos_partition(struct parsed_partitions *state)
|
||||
int slot;
|
||||
#ifdef CONFIG_EMMC_RK
|
||||
//if card is emmc, msdos_partition return false
|
||||
if(state->bdev->bd_disk->first_minor == 0)
|
||||
if(state->bdev->bd_disk->major == MMC_BLOCK_MAJOR &&state->bdev->bd_disk->first_minor == 0)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user