summaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-12-29 10:28:08 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-12-30 21:35:54 +0000
commit581383aaedd254cc6024eef3b3ef976222370583 (patch)
tree1663d4417c59984fe2c3bd4b847e3dfdf4c0c243 /src/soc/intel/fsp_baytrail/include
parent3521e260e3477b3c49835eb2330671e0bc7abe65 (diff)
downloadcoreboot-581383aaedd254cc6024eef3b3ef976222370583.tar.xz
soc/intel: Fix ugly preprocessor macro
Macro hides that dev_find_slot() takes two arguments. Change-Id: I639af31b9d4a2d702dfd2baebddbb8352e8bf9b9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30498 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/include')
-rw-r--r--src/soc/intel/fsp_baytrail/include/soc/lpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_baytrail/include/soc/lpc.h b/src/soc/intel/fsp_baytrail/include/soc/lpc.h
index 832fb31e22..5abe719e44 100644
--- a/src/soc/intel/fsp_baytrail/include/soc/lpc.h
+++ b/src/soc/intel/fsp_baytrail/include/soc/lpc.h
@@ -17,7 +17,7 @@
#ifndef _BAYTRAIL_LPC_H_
#define _BAYTRAIL_LPC_H_
-#define FADT_SOC_LPC_DEV 0, PCI_DEVFN(0x1f,0)
+#define FADT_SOC_LPC_DEVFN PCI_DEVFN(0x1f, 0)
/* PCI config registers in LPC bridge. */
#define REVID 0x08