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>
This commit is contained in:
Chris Rorvick 2015-02-10 23:03:17 -06:00 committed by Takashi Iwai
parent 12b00157fd
commit 0e806151e8

View file

@ -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;