All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: let KS8842 driver depend on HAS_IOMEM
@ 2009-06-23  7:32 Heiko Carstens
  2009-06-23 11:19 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2009-06-23  7:32 UTC (permalink / raw)
  To: David Miller; +Cc: Richard Rojfors, Martin Schwidefsky, linux-kernel, netdev

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Fixes this compile error on s390:

  CC      drivers/net/ks8842.o
drivers/net/ks8842.c: In function 'ks8842_select_bank':
drivers/net/ks8842.c:124: error: implicit declaration of function 'iowrite16'
drivers/net/ks8842.c: In function 'ks8842_write8':
drivers/net/ks8842.c:131: error: implicit declaration of function 'iowrite8'

Cc: Richard Rojfors <richard.rojfors.ext@mocean-labs.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 drivers/net/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/drivers/net/Kconfig
===================================================================
--- linux-2.6.orig/drivers/net/Kconfig
+++ linux-2.6/drivers/net/Kconfig
@@ -1725,6 +1725,7 @@ config TLAN
 
 config KS8842
 	tristate "Micrel KSZ8842"
+	depends on HAS_IOMEM
 	help
 	  This platform driver is for Micrel KSZ8842 chip.
 

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

* Re: [PATCH] net: let KS8842 driver depend on HAS_IOMEM
  2009-06-23  7:32 [PATCH] net: let KS8842 driver depend on HAS_IOMEM Heiko Carstens
@ 2009-06-23 11:19 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-06-23 11:19 UTC (permalink / raw)
  To: heiko.carstens; +Cc: richard.rojfors.ext, schwidefsky, linux-kernel, netdev

From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Tue, 23 Jun 2009 09:32:18 +0200

> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> Fixes this compile error on s390:
> 
>   CC      drivers/net/ks8842.o
> drivers/net/ks8842.c: In function 'ks8842_select_bank':
> drivers/net/ks8842.c:124: error: implicit declaration of function 'iowrite16'
> drivers/net/ks8842.c: In function 'ks8842_write8':
> drivers/net/ks8842.c:131: error: implicit declaration of function 'iowrite8'
> 
> Cc: Richard Rojfors <richard.rojfors.ext@mocean-labs.com>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>

Applied.

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

end of thread, other threads:[~2009-06-23 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23  7:32 [PATCH] net: let KS8842 driver depend on HAS_IOMEM Heiko Carstens
2009-06-23 11:19 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.