Skip to content

Commit

Permalink
staging: line6: adjusted interface of line6_send_program()
Browse files Browse the repository at this point in the history
Adjusted interface of line6_send_program() to clarify internal working

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Johannes Thumshirn authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 5b9bd2a commit 317e188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/line6/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ static void line6_data_received(struct urb *urb)
/*
Send channel number (i.e., switch to a different sound).
*/
int line6_send_program(struct usb_line6 *line6, int value)
int line6_send_program(struct usb_line6 *line6, u8 value)
{
int retval;
unsigned char *buffer;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/line6/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ extern int line6_read_data(struct usb_line6 *line6, int address, void *data,
size_t datalen);
extern int line6_read_serial_number(struct usb_line6 *line6,
int *serial_number);
extern int line6_send_program(struct usb_line6 *line6, int value);
extern int line6_send_program(struct usb_line6 *line6, u8 value);
extern int line6_send_raw_message(struct usb_line6 *line6, const char *buffer,
int size);
extern int line6_send_raw_message_async(struct usb_line6 *line6,
Expand Down

0 comments on commit 317e188

Please sign in to comment.