mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
partitions: msdos: fix for v2.6.36
This commit is contained in:
parent
4cd9825cd8
commit
4e12a2b1a9
|
|
@ -431,6 +431,9 @@ static struct {
|
|||
|
||||
int msdos_partition(struct parsed_partitions *state)
|
||||
{
|
||||
#if defined(CONFIG_SDMMC_RK29) && !defined(CONFIG_SDMMC_RK29_OLD)
|
||||
const struct block_device *bdev = state->bdev;
|
||||
#endif
|
||||
sector_t sector_size = bdev_logical_block_size(state->bdev) / 512;
|
||||
Sector sect;
|
||||
unsigned char *data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user