> > > + struct mmc_ioc_multi_cmd *mioc; > > If <linux/mmc/ioctl.h> does not includes MMC_IOC_MULTI_CMD, > > Which is the case sometimes - this will not compile. > > It's included since 4.4, what's your recommandation ? > check with #ifdef MMC_IOC_MULTI_CMD and return a -ENOSUPP if the ioctl > is not supported ? Maybe use the same convention as in ffu? Thanks, Avri