summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAamir Bohra <aamir.bohra@intel.com>2019-07-19 11:14:51 +0530
committerFurquan Shaikh <furquan@google.com>2019-07-29 02:06:36 +0000
commit47ea45190ba0492c100beb6a2a448c43d4a0d216 (patch)
tree82883b52d8ccde994f9ddde411dd3a6751bf323f
parenteaeb0b7892432f25cf1e518fa4a5211c526aa438 (diff)
downloadcoreboot-47ea45190ba0492c100beb6a2a448c43d4a0d216.tar.xz
soc/intel/cannonlake: Correct the data type of serial_io_dev
Change-Id: Id974a4bb84b7d5caddece04f93bf4e830d15b576 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34466 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/cannonlake/fsp_params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c
index cbaa71059f..6fb3060d61 100644
--- a/src/soc/intel/cannonlake/fsp_params.c
+++ b/src/soc/intel/cannonlake/fsp_params.c
@@ -26,7 +26,7 @@
#include "chip.h"
-static const int serial_io_dev[] = {
+static const pci_devfn_t serial_io_dev[] = {
PCH_DEVFN_I2C0,
PCH_DEVFN_I2C1,
PCH_DEVFN_I2C2,