From 6b2d83c3526157582fb28776cca2bed0bedfe4e9 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 11 Jan 2016 18:43:25 +0100 Subject: autoport: Add missing casts Change-Id: I04abdd48f5e2440756f9b03041d46c773f200368 Signed-off-by: Vladimir Serbinenko Reviewed-on: https://review.coreboot.org/12890 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- util/autoport/bd82x6x.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index a1513e8b0d..c1a9c5ff46 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -397,12 +397,12 @@ void acpi_create_gnvs(global_nvs_t *gnvs) func init() { /* BD82X6X LPC */ for id := 0x1c40; id <= 0x1c5f; id++ { - RegisterPCI(0x8086, id, bd82x6x{variant: "BD82X6X"}) + RegisterPCI(0x8086, uint16(id), bd82x6x{variant: "BD82X6X"}) } /* C216 LPC */ for id := 0x1e41; id <= 0x1e5f; id++ { - RegisterPCI(0x8086, id, bd82x6x{variant: "C216"}) + RegisterPCI(0x8086, uint16(id), bd82x6x{variant: "C216"}) } /* PCIe bridge */ -- cgit v1.2.3