diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-08-03 21:39:46 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-03 21:39:46 -0400 |
commit | 63870295de9adb365cd121dab94379b8cfdf986a (patch) | |
tree | 16c0b5288fa10f4f365f75d5c4fcad9c8a15e2c9 /include | |
parent | 459021fe3627083ea6678a7b29f9f74accf9c6fd (diff) |
maple: Clean up maple_driver_register/unregister routines.
These were completely inconsistent. Clean these up to take a maple_driver
pointer directly for consistency.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/maple.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/maple.h b/include/linux/maple.h index c853b1066018..b2b7ce0fb1f7 100644 --- a/include/linux/maple.h +++ b/include/linux/maple.h | |||
@@ -70,7 +70,9 @@ void maple_getcond_callback(struct maple_device *dev, | |||
70 | void (*callback) (struct mapleq * mq), | 70 | void (*callback) (struct mapleq * mq), |
71 | unsigned long interval, | 71 | unsigned long interval, |
72 | unsigned long function); | 72 | unsigned long function); |
73 | int maple_driver_register(struct device_driver *drv); | 73 | int maple_driver_register(struct maple_driver *); |
74 | void maple_driver_unregister(struct maple_driver *); | ||
75 | |||
74 | int maple_add_packet_sleeps(struct maple_device *mdev, u32 function, | 76 | int maple_add_packet_sleeps(struct maple_device *mdev, u32 function, |
75 | u32 command, u32 length, void *data); | 77 | u32 command, u32 length, void *data); |
76 | void maple_clear_dev(struct maple_device *mdev); | 78 | void maple_clear_dev(struct maple_device *mdev); |