diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-10 23:03:17 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-11 10:41:59 +0100 |
commit | 0e806151e86be52caa1349fa490eab8f09a2b6f5 (patch) | |
tree | 48741127d2bd1972e8c7d2b30f764fe3b24134a2 /sound | |
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>
Diffstat (limited to 'sound')
-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 ddf7368c200..6d4c50c9b17 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; |