summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-02-10 23:03:17 -0600
committerTakashi Iwai <tiwai@suse.de>2015-02-11 10:41:59 +0100
commit0e806151e86be52caa1349fa490eab8f09a2b6f5 (patch)
tree48741127d2bd1972e8c7d2b30f764fe3b24134a2
parent12b00157fd8572ee1f54b70bbf496641a1608924 (diff)
ALSA: line6: toneport: Use explicit type for firmware versionsound-3.20-rc1
The firmware version is a single byte so have the variable type agree. Since the address to this member is passed to the read function, using an int is not even portable. Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/usb/line6/toneport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/toneport.c b/sound/usb/line6/toneport.c
index ddf7368c2001..6d4c50c9b17d 100644
--- a/sound/usb/line6/toneport.c
+++ b/sound/usb/line6/toneport.c
@@ -52,7 +52,7 @@ struct usb_line6_toneport {
u32 serial_number;
/* Firmware version (x 100) */
- int firmware_version;
+ u8 firmware_version;
/* Timer for delayed PCM startup */
struct timer_list timer;