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 4513f78f1127b432bee9e90b1d42662428c9dcc0..d86123041194b2771af35d39264c6115a04da8fc 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 117bf9943568419ad7233c1e7fcf30ca08616fb1..140ccfe0815dd98b87e981a7192d7b1a72f30adf 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);