diff options
| author | Vernon Mauery <[email protected]> | 2006-01-07 16:35:05 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2006-01-07 16:35:05 +0000 |
| commit | 736ce43295682d060f2b93624b4a339f9af6aab1 (patch) | |
| tree | 6f912c51447b389f1456494a3b436534b9b64bed /drivers/misc/ibmasm/ibmasm.h | |
| parent | Input: i8042 - add OQO Zepto to noloop dmi table. (diff) | |
| download | kernel-736ce43295682d060f2b93624b4a339f9af6aab1.tar.gz kernel-736ce43295682d060f2b93624b4a339f9af6aab1.zip | |
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 <[email protected]>
Signed-off-by: Vojtech Pavlik <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/ibmasm.h')
| -rw-r--r-- | drivers/misc/ibmasm/ibmasm.h | 6 |
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; }; |
