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>
This commit is contained in:
Kyösti Mälkki 2020-05-26 07:32:38 +03:00 committed by Nico Huber
parent a1061639d2
commit 53c22873b0
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,6 @@
#ifndef __DRIVERS_INTEL_PMC_MUX_H__
#define __DRIVERS_INTEL_PMC_MUX_H__
extern struct chip_operations drivers_intel_pmc_mux_ops;
struct drivers_intel_pmc_mux_config {
};

View File

@ -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)
{