Re: linux-next: build failure after final merge (net tree)

From: David Miller
Date: Fri Feb 19 2010 - 02:33:12 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Feb 2010 17:37:13 +1100

> I assume that this driver was written and tested only on Sparc
> ... maybe it should depend on SPARC?

Indeed, it should. I thought for some reason that all OF
platforms have of_remap() and of_device->resource[], oh
well :-)

Will commit the following, thanks!

net: Make GRETH driver depend on SPARC.

Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
---
drivers/net/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 17ff15f..46af867 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -997,7 +997,7 @@ config ETHOC

config GRETH
tristate "Aeroflex Gaisler GRETH Ethernet MAC support"
- depends on OF
+ depends on SPARC
select PHYLIB
select CRC32
help
--
1.6.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/