aboutsummaryrefslogtreecommitdiffstats
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)
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 {
141}; 141};
142 142
143struct ibmasm_remote { 143struct ibmasm_remote {
144 struct input_dev keybd_dev; 144 struct input_dev *keybd_dev;
145 struct input_dev mouse_dev; 145 struct input_dev *mouse_dev;
146}; 146};
147 147
148struct service_processor { 148struct service_processor {
@@ -157,7 +157,7 @@ struct service_processor {
157 char dirname[IBMASM_NAME_SIZE]; 157 char dirname[IBMASM_NAME_SIZE];
158 char devname[IBMASM_NAME_SIZE]; 158 char devname[IBMASM_NAME_SIZE];
159 unsigned int number; 159 unsigned int number;
160 struct ibmasm_remote *remote; 160 struct ibmasm_remote remote;
161 int serial_line; 161 int serial_line;
162 struct device *dev; 162 struct device *dev;
163}; 163};