summaryrefslogtreecommitdiffstats
path: root/include/linux/gameport.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-09 16:08:05 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-09 16:10:18 -0700
commit7e044e056a6aa0dc695db50461d7b326fde15e8b (patch)
treebc0a26dbd140e54e1cfa9d67ad93ad890f50775f /include/linux/gameport.h
parent6f660f12d703fa23069317f0a64c6b75d08c15c2 (diff)
downloadlinux-7e044e056a6aa0dc695db50461d7b326fde15e8b.tar.gz
linux-7e044e056a6aa0dc695db50461d7b326fde15e8b.tar.bz2
linux-7e044e056a6aa0dc695db50461d7b326fde15e8b.zip
Input: serio - do not use deprecated dev.power.power_state
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/gameport.h')
-rw-r--r--include/linux/gameport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gameport.h b/include/linux/gameport.h
index 0cd825f7363a..1bc08541c2b9 100644
--- a/include/linux/gameport.h
+++ b/include/linux/gameport.h
@@ -11,6 +11,7 @@
#ifdef __KERNEL__
#include <asm/io.h>
+#include <linux/types.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/device.h>
@@ -62,7 +63,7 @@ struct gameport_driver {
struct device_driver driver;
- unsigned int ignore;
+ bool ignore;
};
#define to_gameport_driver(d) container_of(d, struct gameport_driver, driver)