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>
This commit is contained in:
parent
f824a9be0b
commit
d28e159fdf
|
@ -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,
|
.read_resources = domain_read_resources,
|
||||||
.set_resources = pci_domain_set_resources,
|
.set_resources = pci_domain_set_resources,
|
||||||
.enable_resources = domain_enable_resources,
|
.enable_resources = domain_enable_resources,
|
||||||
|
|
|
@ -68,6 +68,4 @@ struct soc_amd_stoneyridge_config {
|
||||||
|
|
||||||
typedef struct soc_amd_stoneyridge_config config_t;
|
typedef struct soc_amd_stoneyridge_config config_t;
|
||||||
|
|
||||||
extern struct device_operations pci_domain_ops;
|
|
||||||
|
|
||||||
#endif /* __STONEYRIDGE_CHIP_H__ */
|
#endif /* __STONEYRIDGE_CHIP_H__ */
|
||||||
|
|
Loading…
Reference in New Issue