netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] net: hisilicon: Never build on SPARC
@ 2015-10-21 14:29 Guenter Roeck
  2015-10-21 14:39 ` Arnd Bergmann
  2015-10-21 15:27 ` David Miller
  0 siblings, 2 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-10-21 14:29 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, Guenter Roeck, Arnd Bergmann

The Hisilicon network driver does not build for Sparc. Enabling
COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds
to fail with

drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name':
drivers/net/ethernet/hisilicon/hns_mdio.c:409:3: error:
		implicit declaration of function 'of_translate_address'

Fixes: 876133d3161d ("net: hisilicon: add OF dependency")
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/net/ethernet/hisilicon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
index f250dec488fd..413935085591 100644
--- a/drivers/net/ethernet/hisilicon/Kconfig
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -5,7 +5,7 @@
 config NET_VENDOR_HISILICON
 	bool "Hisilicon devices"
 	default y
-	depends on OF && (ARM || ARM64 || COMPILE_TEST)
+	depends on OF && (ARM || ARM64 || COMPILE_TEST) && !SPARC
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
-- 
2.1.4

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

end of thread, other threads:[~2015-11-07  1:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 14:29 [PATCH -next] net: hisilicon: Never build on SPARC Guenter Roeck
2015-10-21 14:39 ` Arnd Bergmann
2015-10-21 14:56   ` Guenter Roeck
2015-10-21 15:33     ` David Miller
2015-10-21 15:57       ` Arnd Bergmann
2015-10-21 17:03         ` Guenter Roeck
2015-10-21 19:11           ` Arnd Bergmann
2015-10-21 21:53             ` Guenter Roeck
2015-11-06 19:16               ` Guenter Roeck
2015-11-06 20:30                 ` Arnd Bergmann
2015-11-07  1:24                   ` Guenter Roeck
2015-10-22  1:24           ` David Miller
2015-10-21 15:30   ` David Miller
2015-10-21 15:27 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).