On Wed, Sep 13, 2017 at 10:38:37PM +0300, Artturi Alm wrote:
> Hi,
> 
> obvious i hope.
> 
> -Artturi
> 
> 
> diff --git a/sys/dev/fdt/sxitwi.c b/sys/dev/fdt/sxitwi.c
> index 260f6f1de57..aa4193549dd 100644
> --- a/sys/dev/fdt/sxitwi.c
> +++ b/sys/dev/fdt/sxitwi.c
> @@ -178,7 +178,7 @@ sxitwi_match(struct device *parent, void *match, void 
> *aux)
>  {
>       struct fdt_attach_args *faa = aux;
>  
> -     return (OF_is_compatible(faa->fa_node, "allwinner,sun4i-a10-i2c") |
> +     return (OF_is_compatible(faa->fa_node, "allwinner,sun4i-a10-i2c") ||
>           OF_is_compatible(faa->fa_node, "allwinner,sun7i-a20-i2c"));
>  }
>  
> 

Committed, thanks!

Reply via email to