summaryrefslogtreecommitdiff
path: root/include/linux/maple.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-04 10:39:46 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-08-04 10:39:46 +0900
commit63870295de9adb365cd121dab94379b8cfdf986a (patch)
tree16c0b5288fa10f4f365f75d5c4fcad9c8a15e2c9 /include/linux/maple.h
parent459021fe3627083ea6678a7b29f9f74accf9c6fd (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.h4
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);