summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Thumshirn <morbidrsa@googlemail.com>2012-06-27 21:25:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-06 16:12:44 -0700
commit2471c0933988eede8040d58cefd6be4fbef9c057 (patch)
tree87e536b11546dde12b9b3cbeebb5f009a7e39596
parent50836770601d3cc8408367de34fa5ece23e7e9b8 (diff)
downloadlinux-3.10-2471c0933988eede8040d58cefd6be4fbef9c057.tar.gz
linux-3.10-2471c0933988eede8040d58cefd6be4fbef9c057.tar.bz2
linux-3.10-2471c0933988eede8040d58cefd6be4fbef9c057.zip
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>
-rw-r--r--drivers/staging/line6/driver.c2
-rw-r--r--drivers/staging/line6/driver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c
index 4513f78f112..d8612304119 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 117bf994356..140ccfe0815 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);