staging: line6: changed interface of line6_transmit_parameter()
Interface of line6_transmit_parameter() adjusted to clarify internal workings Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5083677060
commit
2471c09339
@ -526,7 +526,7 @@ int line6_send_program(struct usb_line6 *line6, int value)
|
||||
/*
|
||||
Transmit Line6 control parameter.
|
||||
*/
|
||||
int line6_transmit_parameter(struct usb_line6 *line6, int param, int value)
|
||||
int line6_transmit_parameter(struct usb_line6 *line6, int param, u8 value)
|
||||
{
|
||||
int retval;
|
||||
unsigned char *buffer;
|
||||
|
@ -224,7 +224,7 @@ extern void line6_start_timer(struct timer_list *timer, unsigned int msecs,
|
||||
void (*function) (unsigned long),
|
||||
unsigned long data);
|
||||
extern int line6_transmit_parameter(struct usb_line6 *line6, int param,
|
||||
int value);
|
||||
u8 value);
|
||||
extern int line6_version_request_async(struct usb_line6 *line6);
|
||||
extern int line6_write_data(struct usb_line6 *line6, int address, void *data,
|
||||
size_t datalen);
|
||||
|
Loading…
x
Reference in New Issue
Block a user