summaryrefslogtreecommitdiffstats
path: root/src/southbridge/amd/amd8111/lpc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-21 11:42:09 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-24 10:01:55 +0000
commit78d338ccb9ca9d03e516c27beb3724be38d38ecf (patch)
tree060bbd99d4974a8250b7e19040d67518b2072623 /src/southbridge/amd/amd8111/lpc.c
parent17ad4598e9d3d302cc45c86a8e11aac62928c83c (diff)
downloadcoreboot-78d338ccb9ca9d03e516c27beb3724be38d38ecf.tar.gz
coreboot-78d338ccb9ca9d03e516c27beb3724be38d38ecf.tar.bz2
coreboot-78d338ccb9ca9d03e516c27beb3724be38d38ecf.zip
sb/amd: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: I05f9ea97ea80ac7a8f34845c59bd66e424ba2991 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28709 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/southbridge/amd/amd8111/lpc.c')
-rw-r--r--src/southbridge/amd/amd8111/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/amd8111/lpc.c b/src/southbridge/amd/amd8111/lpc.c
index 53dbf98c413b..eab885dd4987 100644
--- a/src/southbridge/amd/amd8111/lpc.c
+++ b/src/southbridge/amd/amd8111/lpc.c
@@ -124,8 +124,8 @@ static void amd8111_lpc_read_resources(struct device *dev)
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
}
-static void lpci_set_subsystem(struct device *dev, unsigned vendor,
- unsigned device)
+static void lpci_set_subsystem(struct device *dev, unsigned int vendor,
+ unsigned int device)
{
pci_write_config32(dev, 0x70,
((device & 0xffff) << 16) | (vendor & 0xffff));