superio/ite/it8716f: Update init_ec

This is a follow-on to the superio IS_ENABLED() patch:
https://review.coreboot.org/#/c/20351/1

Change-Id: I7d070e3964609947959de60e2686dfe59fe77e1c
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20490
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Martin Roth 2017-07-07 10:17:14 -06:00
parent 77a58b92e8
commit 96734f1b45
2 changed files with 1 additions and 3 deletions

View File

@ -34,9 +34,7 @@
#define IT8716F_GAME 0x09 /* GAME port */
#define IT8716F_IR 0x0a /* Consumer IR */
#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
/* Provided by mainboard, called by IT8716F superio.c. */
void init_ec(u16 base);
#endif
#endif /* SUPERIO_ITE_IT8716F_H */

View File

@ -29,7 +29,7 @@
#if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)
static void init_ec(u16 base)
void init_ec(u16 base)
{
u8 value;