device: Rename scan_static_bus() -> enable_static_devices()

The new name should reflect better what this function does, as that
is only one specific step of the scanning.

Change-Id: I9c9dc437b6117112bb28550855a2c38044dfbfa5
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31900
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2019-03-14 15:50:06 +01:00 committed by Felix Held
commit f7ed3d4df8
5 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@ static struct device_operations dsp_dev_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.ops_pci = &pci_dev_ops_pci,
.scan_bus = scan_static_bus,
.scan_bus = enable_static_devices,
};
static const unsigned short pci_device_ids[] = {

View file

@ -68,7 +68,7 @@ static struct device_operations hda_ops = {
.init = hda_init,
#endif
.ops_pci = &pci_dev_ops_pci,
.scan_bus = scan_static_bus,
.scan_bus = enable_static_devices,
};
static const unsigned short pci_device_ids[] = {