diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-04-29 03:56:17 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:05:33 -0400 |
commit | 707e60732fc25fe3760f916d083b262a86a666c0 (patch) | |
tree | f9decf1c0ad9d86df6f4c87c514454bc03a3d339 /sound/usb/usbmixer.c | |
parent | 8c1872dcf29e2a194197e1d5a9c366a265986b84 (diff) |
[ALSA] usb-audio - reduce size of unitbitmap array
USB generic driver
Unit/terminal IDs are 8-bit integers, so the unitbitmap
variable does not need to be bigger than 256 bits.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbmixer.c')
-rw-r--r-- | sound/usb/usbmixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index 6ad154aaba1b..e601f4ba5f2c 100644 --- a/sound/usb/usbmixer.c +++ b/sound/usb/usbmixer.c | |||
@@ -67,7 +67,7 @@ struct usb_mixer_build { | |||
67 | unsigned int ctrlif; | 67 | unsigned int ctrlif; |
68 | unsigned short vendor; | 68 | unsigned short vendor; |
69 | unsigned short product; | 69 | unsigned short product; |
70 | DECLARE_BITMAP(unitbitmap, 32*32); | 70 | DECLARE_BITMAP(unitbitmap, 256); |
71 | usb_audio_term_t oterm; | 71 | usb_audio_term_t oterm; |
72 | const struct usbmix_name_map *map; | 72 | const struct usbmix_name_map *map; |
73 | const struct usbmix_selector_map *selector_map; | 73 | const struct usbmix_selector_map *selector_map; |