From 0e806151e86be52caa1349fa490eab8f09a2b6f5 Mon Sep 17 00:00:00 2001 From: Chris Rorvick Date: Tue, 10 Feb 2015 23:03:17 -0600 Subject: 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 Signed-off-by: Takashi Iwai --- sound/usb/line6/toneport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/usb/line6') 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; -- cgit v1.2.3