[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1313355177-12605-3-git-send-email-slyfox@gentoo.org>
Date: Sun, 14 Aug 2011 23:52:53 +0300
From: Sergei Trofimovich <slyfox@...too.org>
To: linux-kernel@...r.kernel.org
Cc: Sergei Trofimovich <slyfox@...too.org>,
Marek Belisko <marek.belisko@...il.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
Ondrej Zary <linux@...nbow-software.org>,
devel@...verdev.osuosl.org
Subject: [PATCH] staging: ft1000: fix build failure
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@...too.org>
Cc: Marek Belisko <marek.belisko@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
Cc: Ondrej Zary <linux@...nbow-software.org>
Cc: devel@...verdev.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists