summary refs log tree commit diff
path: root/drivers/misc/ibmasm/ibmasm.h
diff options
context:
space:
mode:
authorVernon Mauery <vernux@us.ibm.com>2006-01-07 11:35:05 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2006-01-07 11:35:05 -0500
commit736ce43295682d060f2b93624b4a339f9af6aab1 (patch)
tree6f912c51447b389f1456494a3b436534b9b64bed /drivers/misc/ibmasm/ibmasm.h
parent6020bafc9e30e04f4db65298d00e8e28ffb40652 (diff)
downloadlinux-736ce43295682d060f2b93624b4a339f9af6aab1.tar.gz
Input: ibmasm - convert to dynamic input_dev allocation
Update the ibmasm driver to use the dynamic allocation of input_dev
structs to work with the sysfs subsystem.

Vojtech: Fixed some problems/bugs in the patch.
Dmitry: Fixed some more.

Signed-off-by: Vernon Mauery <vernux@us.ibm.com>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/misc/ibmasm/ibmasm.h')
-rw-r--r--drivers/misc/ibmasm/ibmasm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/ibmasm/ibmasm.h b/drivers/misc/ibmasm/ibmasm.h
index d7e20a34f88d..1cef2387fa65 100644
--- a/drivers/misc/ibmasm/ibmasm.h
+++ b/drivers/misc/ibmasm/ibmasm.h
@@ -141,8 +141,8 @@ struct reverse_heartbeat {
 };
 
 struct ibmasm_remote {
-	struct input_dev keybd_dev;
-	struct input_dev mouse_dev;
+	struct input_dev *keybd_dev;
+	struct input_dev *mouse_dev;
 };
 
 struct service_processor {
@@ -157,7 +157,7 @@ struct service_processor {
 	char			dirname[IBMASM_NAME_SIZE];
 	char			devname[IBMASM_NAME_SIZE];
 	unsigned int		number;
-	struct ibmasm_remote	*remote;
+	struct ibmasm_remote	remote;
 	int			serial_line;
 	struct device		*dev;
 };