aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/maple
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-03 23:51:06 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-03 23:51:06 -0400
commit6a9545bd95e88d61df942b9087cb59b8c7a6dc56 (patch)
treec89ca9fa397b92a19a07a6d000e9e1cbf25016ef /drivers/sh/maple
parent617870632de6739fca0893f3e6648e9ae1bd0ddb (diff)
sh: Fix up broken kerneldoc comments.
These were completely unparseable, so fix them up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/maple')
-rw-r--r--drivers/sh/maple/maple.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index be77a39f224c..d1812d32f47d 100644
--- a/drivers/sh/maple/maple.c
+++ b/drivers/sh/maple/maple.c
@@ -147,13 +147,13 @@ static void maple_release_device(struct device *dev)
147 kfree(mdev); 147 kfree(mdev);
148} 148}
149 149
150/* 150/**
151 * maple_add_packet - add a single instruction to the queue 151 * maple_add_packet - add a single instruction to the queue
152 * @mdev - maple device 152 * @mdev: maple device
153 * @function - function on device being queried 153 * @function: function on device being queried
154 * @command - maple command to add 154 * @command: maple command to add
155 * @length - length of command string (in 32 bit words) 155 * @length: length of command string (in 32 bit words)
156 * @data - remainder of command string 156 * @data: remainder of command string
157 */ 157 */
158int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, 158int maple_add_packet(struct maple_device *mdev, u32 function, u32 command,
159 size_t length, void *data) 159 size_t length, void *data)
@@ -194,14 +194,15 @@ out:
194} 194}
195EXPORT_SYMBOL_GPL(maple_add_packet); 195EXPORT_SYMBOL_GPL(maple_add_packet);
196 196
197/* 197/**
198 * maple_add_packet_sleeps - add a single instruction to the queue 198 * maple_add_packet_sleeps - add a single instruction to the queue
199 * - waits for lock to be free 199 * @mdev: maple device
200 * @mdev - maple device 200 * @function: function on device being queried
201 * @function - function on device being queried 201 * @command: maple command to add
202 * @command - maple command to add 202 * @length: length of command string (in 32 bit words)
203 * @length - length of command string (in 32 bit words) 203 * @data: remainder of command string
204 * @data - remainder of command string 204 *
205 * Same as maple_add_packet(), but waits for the lock to become free.
205 */ 206 */
206int maple_add_packet_sleeps(struct maple_device *mdev, u32 function, 207int maple_add_packet_sleeps(struct maple_device *mdev, u32 function,
207 u32 command, size_t length, void *data) 208 u32 command, size_t length, void *data)