[PATCH] net: dm9k: fix copy-paste typo

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 10 23:02:56 PDT 2014


On Wed, Sep 10, 2014 at 11:49:52AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  drivers/net/dm9k.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/net/dm9k.c b/drivers/net/dm9k.c
> index 950bdb3..e525a84 100644
> --- a/drivers/net/dm9k.c
> +++ b/drivers/net/dm9k.c
> @@ -775,7 +775,7 @@ static int dm9k_probe(struct device_d *dev)
>  		break;
>  	case 2:
>  		dev_dbg(dev, "8 bit data bus\n");
> -		if (priv->buswidth != IORESOURCE_MEM_32BIT)
> +		if (priv->buswidth != IORESOURCE_MEM_8BIT)
>  			dev_err(dev,
>  			"Wrong databus width defined at compile time\n");
>  		break;
> -- 
> 2.1.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list