summaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 15:31:49 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:19:16 +0100
commit746d4afbedd2ca5c8fff848ac3af66ce27ca9d72 (patch)
treeefb383e202c619ba3c3f7ea6fb433a54c3eec330 /src/include/device/device.h
parent6d71a43af5e18229364523bb1f8f62b30ac7cd8c (diff)
src/include: Remove space after function name
Fix the following warning detected by checkpatch.pl: WARNING: space prohibited between function name and open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I0ac30b32bab895ca72f91720eeae5a5067327247 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18656 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 74ec508e4a..d3efdd2303 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -195,11 +195,11 @@ void run_bios(struct device *dev, unsigned long addr);
/* Helper functions */
device_t find_dev_path(struct bus *parent, struct device_path *path);
device_t alloc_find_dev(struct bus *parent, struct device_path *path);
-device_t dev_find_device (u16 vendor, u16 device, device_t from);
-device_t dev_find_class (unsigned int class, device_t from);
+device_t dev_find_device(u16 vendor, u16 device, device_t from);
+device_t dev_find_class(unsigned int class, device_t from);
device_t dev_find_path(device_t prev_match, enum device_path_type path_type);
-device_t dev_find_slot (unsigned int bus, unsigned int devfn);
-device_t dev_find_slot_on_smbus (unsigned int bus, unsigned int addr);
+device_t dev_find_slot(unsigned int bus, unsigned int devfn);
+device_t dev_find_slot_on_smbus(unsigned int bus, unsigned int addr);
device_t dev_find_slot_pnp(u16 port, u16 device);
device_t dev_find_lapic(unsigned int apic_id);
int dev_count_cpu(void);
@@ -268,11 +268,11 @@ u32 find_pci_tolm(struct bus *bus);
#else /* vv __SIMPLE_DEVICE__ vv */
-ROMSTAGE_CONST struct device *dev_find_slot (unsigned int bus,
+ROMSTAGE_CONST struct device *dev_find_slot(unsigned int bus,
unsigned int devfn);
ROMSTAGE_CONST struct device *dev_find_next_pci_device(
ROMSTAGE_CONST struct device *previous_dev);
-ROMSTAGE_CONST struct device *dev_find_slot_on_smbus (unsigned int bus,
+ROMSTAGE_CONST struct device *dev_find_slot_on_smbus(unsigned int bus,
unsigned int addr);
ROMSTAGE_CONST struct device *dev_find_slot_pnp(u16 port, u16 device);