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

Antony Pavlov antonynpavlov at gmail.com
Wed Sep 10 00:49:52 PDT 2014


Signed-off-by: Antony Pavlov <antonynpavlov at 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




More information about the barebox mailing list