summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-05-26 07:32:38 +0300
committerNico Huber <nico.h@gmx.de>2020-07-03 08:28:20 +0000
commit53c22873b049771862e0f9b4cfb3509c07a7d04b (patch)
tree8cc57d601eaa12559e2d61d2bf02b6fae876933a /src/soc
parenta1061639d2d17886032df86c0f9b21e44b9e9818 (diff)
drivers/intel/pmx_mux: Remove redundant declaration
Change-Id: Ie64b267ac01afa9774105e1ab8a7c18021726ff3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41871 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/tigerlake/pmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/pmc.c b/src/soc/intel/tigerlake/pmc.c
index 8fcbe50504..f2f8a06260 100644
--- a/src/soc/intel/tigerlake/pmc.c
+++ b/src/soc/intel/tigerlake/pmc.c
@@ -126,6 +126,9 @@ static void soc_pmc_fill_ssdt(const struct device *dev)
dev_path(dev));
}
+/* FIXME: Rewrite loop below without this. */
+extern struct chip_operations drivers_intel_pmc_mux_ops;
+
/* By default, TGL uses the PMC MUX for all ports, so port_number is unused */
const struct device *soc_get_pmc_mux_device(int port_number)
{