summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/midi.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2013-01-11 23:08:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 16:40:50 -0800
commit269edc8ee93c59820b2b54c2d010ab09c5e45cfe (patch)
tree0d2af0b247d136b3e5d25bc6a10297b9ba908fe1 /drivers/staging/line6/midi.h
parent4d3f50e4e5b423058f9eb47077837f975162ac24 (diff)
staging: line6: rename MidiBuffer to avoid CamelCase
Fix checkpatch.pl warnings related to MidiBuffer: WARNING: Avoid CamelCase: <MidiBuffer> #947: FILE: staging/line6/driver.c:363: + struct MidiBuffer *mb = &line6->line6midi->midibuf_in; Rename MidiBuffer to midi_buffer. Note that "midibuf" would be another good name but sound/oss/midibuf.c already uses it for a different concept. Avoid possible confusion by using "midi_buffer" instead. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/midi.h')
-rw-r--r--drivers/staging/line6/midi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/line6/midi.h b/drivers/staging/line6/midi.h
index 19dabd54051a..78f903fb4d41 100644
--- a/drivers/staging/line6/midi.h
+++ b/drivers/staging/line6/midi.h
@@ -57,12 +57,12 @@ struct snd_line6_midi {
/**
Buffer for incoming MIDI stream.
*/
- struct MidiBuffer midibuf_in;
+ struct midi_buffer midibuf_in;
/**
Buffer for outgoing MIDI stream.
*/
- struct MidiBuffer midibuf_out;
+ struct midi_buffer midibuf_out;
};
extern int line6_init_midi(struct usb_line6 *line6);