Skip to content

Commit 8c41fae

Browse files
Jiapeng Chonggregkh
authored andcommitted
staging: gpib: Modify mismatched function name
No functional modification involved. drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:676: warning: expecting prototype for interface_clear(). Prototype was for usb_gpib_interface_clear() instead. drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:654: warning: expecting prototype for go_to_standby(). Prototype was for usb_gpib_go_to_standby() instead. drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:636: warning: expecting prototype for enable_eos(). Prototype was for usb_gpib_enable_eos() instead. drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c:618: warning: expecting prototype for disable_eos(). Prototype was for usb_gpib_disable_eos() instead. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=12253 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/20241206022504.69670-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fd1885d commit 8c41fae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ static int usb_gpib_command(gpib_board_t *board,
608608
}
609609

610610
/**
611-
* disable_eos() - Disable END on eos byte (END on EOI only)
611+
* usb_gpib_disable_eos() - Disable END on eos byte (END on EOI only)
612612
*
613613
* @board: the gpib_board data area for this gpib interface
614614
*
@@ -624,7 +624,7 @@ static void usb_gpib_disable_eos(gpib_board_t *board)
624624
}
625625

626626
/**
627-
* enable_eos() - Enable END for reads when eos byte is received.
627+
* usb_gpib_enable_eos() - Enable END for reads when eos byte is received.
628628
*
629629
* @board: the gpib_board data area for this gpib interface
630630
* @eos_byte: the 'eos' byte
@@ -647,7 +647,7 @@ static int usb_gpib_enable_eos(gpib_board_t *board,
647647
}
648648

649649
/**
650-
* go_to_standby() - De-assert ATN
650+
* usb_gpib_go_to_standby() - De-assert ATN
651651
*
652652
* @board: the gpib_board data area for this gpib interface
653653
*/
@@ -664,7 +664,7 @@ static int usb_gpib_go_to_standby(gpib_board_t *board)
664664
}
665665

666666
/**
667-
* interface_clear() - Assert or de-assert IFC
667+
* usb_gpib_interface_clear() - Assert or de-assert IFC
668668
*
669669
* @board: the gpib_board data area for this gpib interface
670670
* assert: 1: assert IFC; 0: de-assert IFC

0 commit comments

Comments
 (0)