diff options
Diffstat (limited to 'drivers/mmc/mmc.c')
| -rw-r--r-- | drivers/mmc/mmc.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index cbd75673b..7e703c0ec 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1167,12 +1167,14 @@ int mmc_register(struct mmc *mmc)  	return 0;  } +#ifdef CONFIG_PARTITIONS  block_dev_desc_t *mmc_get_dev(int dev)  {  	struct mmc *mmc = find_mmc_device(dev);  	return mmc ? &mmc->block_dev : NULL;  } +#endif  int mmc_init(struct mmc *mmc)  { |