Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox