]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: line6: Make line6_send_raw_message() static
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Jan 2015 15:36:21 +0000 (16:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 07:19:05 +0000 (08:19 +0100)
It's used only locally.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/driver.h

index 1193d16396a0731983083d7cf5c0fa9a02b6d428..a2f72cc2bf96e1e624b2c8476d7d31ca5b338457 100644 (file)
@@ -88,8 +88,8 @@ static void line6_stop_listen(struct usb_line6 *line6)
 /*
        Send raw message in pieces of wMaxPacketSize bytes.
 */
-int line6_send_raw_message(struct usb_line6 *line6, const char *buffer,
-                          int size)
+static int line6_send_raw_message(struct usb_line6 *line6, const char *buffer,
+                                 int size)
 {
        int i, done = 0;
 
index f484aa09840be1ae82358d38e39e929361f33d28..8fd65f2e1f067a2415b8263000216a8ab933bc67 100644 (file)
@@ -169,8 +169,6 @@ extern int line6_read_data(struct usb_line6 *line6, int address, void *data,
 extern int line6_read_serial_number(struct usb_line6 *line6,
                                    int *serial_number);
 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,
                                        const char *buffer, int size);
 extern int line6_send_sysex_message(struct usb_line6 *line6,