thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Oct 2013 14:06:32 +0000 (16:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2013 19:27:54 +0000 (11:27 -0800)
commitce0b80a71ba1a749abaffa5e5883582d54ffe66e
treec2c01b49c961fc87a103e8a9e8ec792126ac289b
parent0bb8c8db22da5810c13974d5a8df4595a654541c
thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32

commit cab6661344f14a09d7aecdf821a40f68ef9b18cc upstream.

SNDRV_CARDS can be specified via Kconfig since 3.11 kernel, so this
can be over 32bit integer range, which leads to a build error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/thinkpad_acpi.c