mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] net: dm9k: fix copy-paste typo
@ 2014-09-10  7:49 Antony Pavlov
  2014-09-11  6:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2014-09-10  7:49 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 drivers/net/dm9k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: dm9k: fix copy-paste typo
  2014-09-10  7:49 [PATCH] net: dm9k: fix copy-paste typo Antony Pavlov
@ 2014-09-11  6:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-09-11  6:02 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Wed, Sep 10, 2014 at 11:49:52AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-11  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10  7:49 [PATCH] net: dm9k: fix copy-paste typo Antony Pavlov
2014-09-11  6:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox