
24 May
2011
24 May
'11
5:08 a.m.
On Monday, May 23, 2011 17:49:42 Matthew McClintock wrote:
--- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -180,7 +180,9 @@ int do_mmcops(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) mmc_dev = mmc_get_dev(curr_device); if (mmc_dev != NULL && mmc_dev->type != DEV_TYPE_UNKNOWN) { +#ifdef CONFIG_PARTITIONS print_part(mmc_dev); +#endif
how about adding this logic to the header ? then print_part() is transparently turned into a stub for all users ... -mike