summaryrefslogtreecommitdiff
path: root/src/mainboard/biostar
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-04-22 16:49:28 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-04-23 22:21:11 +0000
commita4faec3b014b54d4619dad31c6d6ede58700d862 (patch)
treedc39875d437a0f357d1e142644d1108b83138ce2 /src/mainboard/biostar
parentcfdac8266155e7aafdc658e415eb719639670ed8 (diff)
downloadcoreboot-a4faec3b014b54d4619dad31c6d6ede58700d862.tar.xz
src/mainboard: Const'ify pci_devfn_t devices
Change-Id: I5bb1a819475383719dbda32d9b5fea63da1e6713 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40611 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/biostar')
-rw-r--r--src/mainboard/biostar/a68n_5200/bootblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/biostar/a68n_5200/bootblock.c b/src/mainboard/biostar/a68n_5200/bootblock.c
index 1d1f0f142b..c289c444de 100644
--- a/src/mainboard/biostar/a68n_5200/bootblock.c
+++ b/src/mainboard/biostar/a68n_5200/bootblock.c
@@ -35,7 +35,7 @@ void bootblock_mainboard_early_init(void)
pm_io_write8(0x24, 1);
/* Set LPC decode enables. */
- pci_devfn_t dev = PCI_DEV(0, 0x14, 3);
+ const pci_devfn_t dev = PCI_DEV(0, 0x14, 3);
pci_write_config32(dev, 0x44, 0xff03ffd5);
/* enable SIO LPC decode */