Skip to content

Commit 559eda6

Browse files
committed
Input: gscps2 - Describe missing function parameters
Avoid compiler warnings when building with W=1 by adding documentation for the missing function parameters. Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 9feb82b commit 559eda6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/input/serio/gscps2.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ static bool gscps2_report_data(struct gscps2port *ps2port)
251251

252252
/**
253253
* gscps2_interrupt() - Interruption service routine
254+
* @irq: interrupt number which triggered (unused)
255+
* @dev: device pointer (unused)
254256
*
255257
* This function reads received PS/2 bytes and processes them on
256258
* all interfaces.
@@ -329,6 +331,8 @@ static void gscps2_close(struct serio *port)
329331

330332
/**
331333
* gscps2_probe() - Probes PS2 devices
334+
* @dev: pointer to parisc_device struct which will be probed
335+
*
332336
* @return: success/error report
333337
*/
334338

@@ -420,6 +424,8 @@ static int __init gscps2_probe(struct parisc_device *dev)
420424

421425
/**
422426
* gscps2_remove() - Removes PS2 devices
427+
* @dev: pointer to parisc_device which shall be removed
428+
*
423429
* @return: success/error report
424430
*/
425431

0 commit comments

Comments
 (0)