On Fri, May 09, 2014 at 01:20:28AM +0200, Andreas Fenkart wrote:
> Signed-off-by: Andreas Fenkart <afenk...@gmail.com>
> 
> diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
> index 8d07e2b..5042a15 100644
> --- a/drivers/mmc/host/omap_hsmmc.c
> +++ b/drivers/mmc/host/omap_hsmmc.c
> @@ -1864,6 +1864,7 @@ static inline struct omap_mmc_platform_data
>  {
>       return ERR_PTR(-EINVAL);
>  }
> +#define omap_mmc_of_match      NULL
>  #endif
>  
>  static int omap_hsmmc_probe(struct platform_device *pdev)

What do you need this for? omap_hsmmc.c uses of_match_ptr() to
access omap_mmc_of_match, which is a macro returning NULL for
!CONFIG_OF.

-- Sebastian

Attachment: signature.asc
Description: Digital signature

Reply via email to