diff options
| -rw-r--r-- | drivers/staging/line6/audio.c | 1 | ||||
| -rw-r--r-- | drivers/staging/line6/capture.c | 1 | ||||
| -rw-r--r-- | drivers/staging/line6/midibuf.c | 6 | ||||
| -rw-r--r-- | drivers/staging/line6/playback.c | 1 | ||||
| -rw-r--r-- | drivers/staging/line6/pod.c | 4 | ||||
| -rw-r--r-- | drivers/staging/line6/variax.c | 2 |
6 files changed, 9 insertions, 6 deletions
diff --git a/drivers/staging/line6/audio.c b/drivers/staging/line6/audio.c index f6ad27412797..d035420c7bfb 100644 --- a/drivers/staging/line6/audio.c +++ b/drivers/staging/line6/audio.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include "driver.h" | 12 | #include "driver.h" |
| 13 | #include "audio.h" | ||
| 13 | 14 | ||
| 14 | #include <sound/core.h> | 15 | #include <sound/core.h> |
| 15 | #include <sound/initval.h> | 16 | #include <sound/initval.h> |
diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c index 6660c0b4cc5c..a4628bd61cac 100644 --- a/drivers/staging/line6/capture.c +++ b/drivers/staging/line6/capture.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include "audio.h" | 18 | #include "audio.h" |
| 19 | #include "pcm.h" | 19 | #include "pcm.h" |
| 20 | #include "pod.h" | 20 | #include "pod.h" |
| 21 | #include "capture.h" | ||
| 21 | 22 | ||
| 22 | 23 | ||
| 23 | /* | 24 | /* |
diff --git a/drivers/staging/line6/midibuf.c b/drivers/staging/line6/midibuf.c index 2f86c6692516..1f5934e32124 100644 --- a/drivers/staging/line6/midibuf.c +++ b/drivers/staging/line6/midibuf.c | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #include "midibuf.h" | 16 | #include "midibuf.h" |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | int midibuf_message_length(unsigned char code) | 19 | static int midibuf_message_length(unsigned char code) |
| 20 | { | 20 | { |
| 21 | if(code < 0x80) | 21 | if(code < 0x80) |
| 22 | return -1; | 22 | return -1; |
| @@ -59,12 +59,12 @@ void midibuf_status(struct MidiBuffer *this) | |||
| 59 | this->size, this->split, this->pos_read, this->pos_write, this->full, this->command_prev); | 59 | this->size, this->split, this->pos_read, this->pos_write, this->full, this->command_prev); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | int midibuf_is_empty(struct MidiBuffer *this) | 62 | static int midibuf_is_empty(struct MidiBuffer *this) |
| 63 | { | 63 | { |
| 64 | return (this->pos_read == this->pos_write) && !this->full; | 64 | return (this->pos_read == this->pos_write) && !this->full; |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | int midibuf_is_full(struct MidiBuffer *this) | 67 | static int midibuf_is_full(struct MidiBuffer *this) |
| 68 | { | 68 | { |
| 69 | return this->full; | 69 | return this->full; |
| 70 | } | 70 | } |
diff --git a/drivers/staging/line6/playback.c b/drivers/staging/line6/playback.c index c86e89c59f07..c30c627efdd7 100644 --- a/drivers/staging/line6/playback.c +++ b/drivers/staging/line6/playback.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include "audio.h" | 18 | #include "audio.h" |
| 19 | #include "pcm.h" | 19 | #include "pcm.h" |
| 20 | #include "pod.h" | 20 | #include "pod.h" |
| 21 | #include "playback.h" | ||
| 21 | 22 | ||
| 22 | 23 | ||
| 23 | /* | 24 | /* |
diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index eba804f2b17c..614e9dc2ad19 100644 --- a/drivers/staging/line6/pod.c +++ b/drivers/staging/line6/pod.c | |||
| @@ -398,7 +398,7 @@ void pod_midi_postprocess(struct usb_line6_pod *pod, unsigned char *data, int le | |||
| 398 | /* | 398 | /* |
| 399 | Send channel number (i.e., switch to a different sound). | 399 | Send channel number (i.e., switch to a different sound). |
| 400 | */ | 400 | */ |
| 401 | void pod_send_channel(struct usb_line6_pod *pod, int value) | 401 | static void pod_send_channel(struct usb_line6_pod *pod, int value) |
| 402 | { | 402 | { |
| 403 | line6_invalidate_current(&pod->dumpreq); | 403 | line6_invalidate_current(&pod->dumpreq); |
| 404 | 404 | ||
| @@ -951,7 +951,7 @@ static void pod_destruct(struct usb_interface *interface) | |||
| 951 | /* | 951 | /* |
| 952 | Create sysfs entries. | 952 | Create sysfs entries. |
| 953 | */ | 953 | */ |
| 954 | int pod_create_files2(struct device *dev) | 954 | static int pod_create_files2(struct device *dev) |
| 955 | { | 955 | { |
| 956 | int err; | 956 | int err; |
| 957 | 957 | ||
diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c index b27764769296..f25493dde797 100644 --- a/drivers/staging/line6/variax.c +++ b/drivers/staging/line6/variax.c | |||
| @@ -392,7 +392,7 @@ static void variax_destruct(struct usb_interface *interface) | |||
| 392 | /* | 392 | /* |
| 393 | Create sysfs entries. | 393 | Create sysfs entries. |
| 394 | */ | 394 | */ |
| 395 | int variax_create_files2(struct device *dev) | 395 | static int variax_create_files2(struct device *dev) |
| 396 | { | 396 | { |
| 397 | int err; | 397 | int err; |
| 398 | CHECK_RETURN(device_create_file(dev, &dev_attr_model)); | 398 | CHECK_RETURN(device_create_file(dev, &dev_attr_model)); |
