diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-11 00:03:17 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-11 04:41:59 -0500 |
commit | 0e806151e86be52caa1349fa490eab8f09a2b6f5 (patch) | |
tree | 48741127d2bd1972e8c7d2b30f764fe3b24134a2 | |
parent | 12b00157fd8572ee1f54b70bbf496641a1608924 (diff) |
ALSA: line6: toneport: Use explicit type for firmware version
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.c | 2 |
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 { | |||
52 | u32 serial_number; | 52 | u32 serial_number; |
53 | 53 | ||
54 | /* Firmware version (x 100) */ | 54 | /* Firmware version (x 100) */ |
55 | int firmware_version; | 55 | u8 firmware_version; |
56 | 56 | ||
57 | /* Timer for delayed PCM startup */ | 57 | /* Timer for delayed PCM startup */ |
58 | struct timer_list timer; | 58 | struct timer_list timer; |