From 96734f1b45b91e2b872602d9c29548c35fce987b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 7 Jul 2017 10:17:14 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/20490 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/superio/ite/it8716f/it8716f.h | 2 -- src/superio/ite/it8716f/superio.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index 3531a1301a..726c4cc548 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -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 */ diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c index 2ec38751ad..b4cd5e6d45 100644 --- a/src/superio/ite/it8716f/superio.c +++ b/src/superio/ite/it8716f/superio.c @@ -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; -- cgit v1.2.3