watchdog: ie6xx_wdt needs io.h
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 14 May 2012 20:14:29 +0000 (13:14 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 23 May 2012 14:25:33 +0000 (16:25 +0200)
Fix build error by including <linux/io.h>:

drivers/watchdog/ie6xx_wdt.c:97:2: error: implicit declaration of function 'outb'
drivers/watchdog/ie6xx_wdt.c:133:2: error: implicit declaration of function 'outl'
drivers/watchdog/ie6xx_wdt.c:161:2: error: implicit declaration of function 'inb'
drivers/watchdog/ie6xx_wdt.c:199:3: error: implicit declaration of function 'inl'
drivers/watchdog/ie6xx_wdt.c:203:3: error: implicit declaration of function 'inw'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ie6xx_wdt.c

index 790993e..5f0d776 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/platform_device.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/watchdog.h>