staging: line6: changed interface of line6_transmit_parameter()
authorJohannes Thumshirn <morbidrsa@googlemail.com>
Wed, 27 Jun 2012 19:25:55 +0000 (21:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 23:12:44 +0000 (16:12 -0700)
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>
drivers/staging/line6/driver.c
drivers/staging/line6/driver.h

index 4513f78..d861230 100644 (file)
@@ -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;
index 117bf99..140ccfe 100644 (file)
@@ -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);