Re: [PATCH v11 1/7] mmc: omap_hsmmc: compile fix for !CONFIG_OF build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 09, 2014 at 01:20:28AM +0200, Andreas Fenkart wrote:
> Signed-off-by: Andreas Fenkart <afenkart@xxxxxxxxx>
> 
> 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


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux