aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/maple.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-03 21:39:46 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-03 21:39:46 -0400
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,
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);
73int maple_driver_register(struct device_driver *drv); 73int maple_driver_register(struct maple_driver *);
74void maple_driver_unregister(struct maple_driver *);
75
74int maple_add_packet_sleeps(struct maple_device *mdev, u32 function, 76int maple_add_packet_sleeps(struct maple_device *mdev, u32 function,
75 u32 command, u32 length, void *data); 77 u32 command, u32 length, void *data);
76void maple_clear_dev(struct maple_device *mdev); 78void maple_clear_dev(struct maple_device *mdev);