mfd: superio: smsc: fix C99ism initial declaration in for loop
Codebase is meant to be gnu89, but was only enforced starting
with bc4840e98b94 ("kbuild: add -Wmissing-prototypes and -std=gnu89
to KBUILD_HOSTCFLAGS"). Since then, this driver no longer compiles.
Fix this.

Fixes: eaf020f1bb52 ("mfd: superio: add base SMSC MFD driver")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 309788a commit 25d283e53880072cc4d3398ff72ff8b2efb2b079
@Ahmad Fatoum Ahmad Fatoum authored on 2 Jul 2020
Sascha Hauer committed on 14 Jul 2020
Showing 1 changed file
View
drivers/mfd/smsc-superio.c