diff options
author | Samuel Holland <samuel@sholland.org> | 2017-06-06 20:40:27 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-12 04:03:41 +0200 |
commit | 901bdb3795ac01c94faf9cefef2b4252f0cb9ed6 (patch) | |
tree | 4af4a833030f4a5bb158d269039c5a7d5cf9d9a2 /src/superio/ite | |
parent | d2a86da6e647b5f69b75a9bc4914c074a27c451c (diff) |
superio/ite/common: fix prototype to match others
Change-Id: Id4a079d868c5c806c769b5559833566e8a6a8a71
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-on: https://review.coreboot.org/20077
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/ite')
-rw-r--r-- | src/superio/ite/common/env_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/common/env_ctrl.c b/src/superio/ite/common/env_ctrl.c index b3312e60bf..1e313ce715 100644 --- a/src/superio/ite/common/env_ctrl.c +++ b/src/superio/ite/common/env_ctrl.c @@ -98,7 +98,7 @@ static void enable_peci(const u16 base, const u8 tmpin) * Set up External Temperature to read via thermal diode/resistor * into TMPINx register */ -static void enable_tmpin(const u16 base, const int tmpin, +static void enable_tmpin(const u16 base, const u8 tmpin, const enum ite_ec_thermal_mode mode) { u8 reg; |