aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/lpc.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-06 08:59:23 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-07 18:31:04 +0100
commit94b971a909d7b9695a8a5b28eed2296f0e7cabb2 (patch)
treefd6a0c591eb3b26087f9dd9f7dfb14dc5f3f9e50 /src/soc/intel/quark/lpc.c
parenta24c81cd304c10911a8aae75f9d95bc1fa9574ca (diff)
soc/intel/quark: Fix errors detected by checkpatch
Fix the errors detected by checkpatch and update the copyright dates. TEST=Build and run on Galileo Gen2 Change-Id: Idad062eaeca20519394c2cd24d803c546d8e0ae0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/18591 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/lpc.c')
-rw-r--r--src/soc/intel/quark/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/quark/lpc.c b/src/soc/intel/quark/lpc.c
index e57b71746d..aefbaf6ea4 100644
--- a/src/soc/intel/quark/lpc.c
+++ b/src/soc/intel/quark/lpc.c
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008-2009 coresystems GmbH
* Copyright (C) 2014 Google Inc.
- * Copyright (C) 2015-2016 Intel Corporation.
+ * Copyright (C) 2015-2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
static void pmc_read_resources(device_t dev)
{
- unsigned index = 0;
+ unsigned int index = 0;
struct resource *res;
/* Get the normal PCI resources of this device. */