summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042-ip22io.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-09-04 08:41:38 +0200
committerDmitry Torokhov <dtor_core@ameritech.net>2005-09-04 08:41:38 +0200
commit8d5987a6e17fa36776a0c9964db0f24c3d070862 (patch)
treefcabd9919c13d7d7eb3b77b09de852488ab7d13d /drivers/input/serio/i8042-ip22io.h
parentInput: i8042 - clean up initialization code; abort if we (diff)
downloadlinux-8d5987a6e17fa36776a0c9964db0f24c3d070862.tar.xz
linux-8d5987a6e17fa36776a0c9964db0f24c3d070862.zip
Input: make i8042_platform_init return 'real' error code
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio/i8042-ip22io.h')
-rw-r--r--drivers/input/serio/i8042-ip22io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/i8042-ip22io.h b/drivers/input/serio/i8042-ip22io.h
index 863b9c95fbb8..ee1ad27d6ed0 100644
--- a/drivers/input/serio/i8042-ip22io.h
+++ b/drivers/input/serio/i8042-ip22io.h
@@ -58,7 +58,7 @@ static inline int i8042_platform_init(void)
#if 0
/* XXX sgi_kh is a virtual address */
if (!request_mem_region(sgi_kh, sizeof(struct hpc_keyb), "i8042"))
- return 1;
+ return -EBUSY;
#endif
i8042_reset = 1;