diff options
author | Johannes Thumshirn <morbidrsa@googlemail.com> | 2012-06-27 19:25:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 23:12:44 (GMT) |
commit | 2471c0933988eede8040d58cefd6be4fbef9c057 (patch) | |
tree | 87e536b11546dde12b9b3cbeebb5f009a7e39596 /drivers/staging/line6 | |
parent | 50836770601d3cc8408367de34fa5ece23e7e9b8 (diff) | |
download | linux-2471c0933988eede8040d58cefd6be4fbef9c057.tar.xz |
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>
Diffstat (limited to 'drivers/staging/line6')
-rw-r--r-- | drivers/staging/line6/driver.c | 2 | ||||
-rw-r--r-- | drivers/staging/line6/driver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index 4513f78..d861230 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -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; diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index 117bf99..140ccfe 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -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); |