From 901bdb3795ac01c94faf9cefef2b4252f0cb9ed6 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Tue, 6 Jun 2017 20:40:27 -0500
Subject: 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>
---
 src/superio/ite/common/env_ctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v1.2.3