diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-08-04 10:39:46 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-04 10:39:46 +0900 |
commit | 63870295de9adb365cd121dab94379b8cfdf986a (patch) | |
tree | 16c0b5288fa10f4f365f75d5c4fcad9c8a15e2c9 /include/linux/maple.h | |
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/linux/maple.h')
-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, void (*callback) (struct mapleq * mq), unsigned long interval, unsigned long function); -int maple_driver_register(struct device_driver *drv); +int maple_driver_register(struct maple_driver *); +void maple_driver_unregister(struct maple_driver *); + int maple_add_packet_sleeps(struct maple_device *mdev, u32 function, u32 command, u32 length, void *data); void maple_clear_dev(struct maple_device *mdev); |