From d28e159fdf03c8e0d983745062cf811585e584de Mon Sep 17 00:00:00 2001 From: Felix Held Date: Sat, 5 Dec 2020 02:13:10 +0100 Subject: soc/amd/stoneyridge/chip.h: remove unneeded extern pci_domain_ops Now pci_domain_ops in chip.c can also be marked as static. Change-Id: I5e481fe311c9db4aacfd94bbf671edf679528946 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/48318 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/stoneyridge/chip.c | 2 +- src/soc/amd/stoneyridge/chip.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/soc/amd/stoneyridge') diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c index 909b84793e..e8bc71a4c8 100644 --- a/src/soc/amd/stoneyridge/chip.c +++ b/src/soc/amd/stoneyridge/chip.c @@ -95,7 +95,7 @@ const char *soc_acpi_name(const struct device *dev) } }; -struct device_operations pci_domain_ops = { +static struct device_operations pci_domain_ops = { .read_resources = domain_read_resources, .set_resources = pci_domain_set_resources, .enable_resources = domain_enable_resources, diff --git a/src/soc/amd/stoneyridge/chip.h b/src/soc/amd/stoneyridge/chip.h index e72e3c0101..566c359ea3 100644 --- a/src/soc/amd/stoneyridge/chip.h +++ b/src/soc/amd/stoneyridge/chip.h @@ -68,6 +68,4 @@ struct soc_amd_stoneyridge_config { typedef struct soc_amd_stoneyridge_config config_t; -extern struct device_operations pci_domain_ops; - #endif /* __STONEYRIDGE_CHIP_H__ */ -- cgit v1.2.3