On Thu, 18 Oct 2018 at 19:03, Avri Altman <Avri.Altman@xxxxxxx> wrote: > > > > > + 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? OK will do, Thanks, Clement > > Thanks, > Avri