diff --git a/sound/last.c b/sound/last.c index 43f222825038e8..51d240aec294d9 100644 --- a/sound/last.c +++ b/sound/last.c @@ -24,10 +24,10 @@ static int __init alsa_sound_last_init(void) { - int idx, ok = 0; + int ok = 0; printk(KERN_INFO "ALSA device list:\n"); - for (idx = 0; idx < SNDRV_CARDS; idx++) + for (int idx = 0; idx < SNDRV_CARDS; idx++) if (snd_cards[idx] != NULL) { printk(KERN_INFO " #%i: %s\n", idx, snd_cards[idx]->longname); ok++;