diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2020-12-05 02:13:10 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-12-06 19:01:44 +0000 |
commit | d28e159fdf03c8e0d983745062cf811585e584de (patch) | |
tree | 0392cad5d8066c20247114dd14d65592dd9ee98f /src/soc | |
parent | f824a9be0b9ceb19c7740617141bd06b3c5dce56 (diff) |
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 <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48318
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/stoneyridge/chip.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/chip.h | 2 |
2 files changed, 1 insertions, 3 deletions
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__ */ |