public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ft1000: fix build failure
@ 2011-08-14 20:52 Sergei Trofimovich
  2011-08-14 22:23 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Trofimovich @ 2011-08-14 20:52 UTC (permalink / raw)
  To: linux-kernel
  Cc: Sergei Trofimovich, Marek Belisko, Greg Kroah-Hartman,
	Ondrej Zary, devel

Found on allmodconfig build (ARCH=alpha)

    drivers/staging/ft1000/ft1000-pcmcia/ft1000.h: In function 'ft1000_read_reg':
    drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:80: error: implicit declaration of function 'inw'
    drivers/staging/ft1000/ft1000-pcmcia/ft1000.h: In function 'ft1000_write_reg':
    drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:86: error: implicit declaration of function 'outw'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Cc: Marek Belisko <marek.belisko@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Ondrej Zary <linux@rainbow-software.org>
Cc: devel@driverdev.osuosl.org
---
 drivers/staging/ft1000/ft1000-pcmcia/ft1000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h b/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h
index 3b0130f..c2f835f 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000.h
@@ -19,6 +19,7 @@
 #ifndef _FT1000H_
 #define _FT1000H_
 
+#include <linux/io.h>
 #include "../ft1000.h"
 
 #define FT1000_DRV_VER 0x01010300
-- 
1.7.3.4


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

end of thread, other threads:[~2011-08-15  4:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-14 20:52 [PATCH] staging: ft1000: fix build failure Sergei Trofimovich
2011-08-14 22:23 ` Greg KH
2011-08-15  3:18   ` Sergei Trofimovich
2011-08-15  4:10     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox