summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/pcie
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-03-15 22:20:41 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-03-19 04:45:58 +0000
commitb1434fce01c31e7ed3ce6623a2fae635381b0b4b (patch)
tree95335799e0b60c51a4e8a77eb084873a120387b8 /src/soc/intel/common/block/pcie
parentd0e218384f2c9127f701a41b0b8add08528c1450 (diff)
downloadcoreboot-b1434fce01c31e7ed3ce6623a2fae635381b0b4b.tar.gz
coreboot-b1434fce01c31e7ed3ce6623a2fae635381b0b4b.tar.bz2
coreboot-b1434fce01c31e7ed3ce6623a2fae635381b0b4b.zip
Fix 'unsigned int' to bare use of 'unsigned'
Change-Id: Iee09b601045d7785a0977a4f7ed7385b1d311044 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31913 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/common/block/pcie')
-rw-r--r--src/soc/intel/common/block/pcie/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c
index 0a5e1bf4d636..82957657f56f 100644
--- a/src/soc/intel/common/block/pcie/pcie.c
+++ b/src/soc/intel/common/block/pcie/pcie.c
@@ -73,7 +73,7 @@ static void pcie_set_L1_ss_max_latency(struct device *dev, unsigned int offset)
}
static void pcie_dev_set_subsystem(struct device *dev,
- unsigned vendor, unsigned device)
+ unsigned int vendor, unsigned int device)
{
pci_write_config32(dev, PCIE_SUBSYSTEM_VENDOR_ID,
((device & 0xffff) << 16) | (vendor & 0xffff));