summaryrefslogtreecommitdiffstats
path: root/src/include/device/resource.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 15:24:16 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:18:37 +0100
commit6d71a43af5e18229364523bb1f8f62b30ac7cd8c (patch)
treefcae5006a4482196c1c9df8b5050adb43e2ec946 /src/include/device/resource.h
parent35af5c47b030c0a1837cb34bc9ae4d50734fefb0 (diff)
downloadcoreboot-6d71a43af5e18229364523bb1f8f62b30ac7cd8c.tar.gz
coreboot-6d71a43af5e18229364523bb1f8f62b30ac7cd8c.tar.bz2
coreboot-6d71a43af5e18229364523bb1f8f62b30ac7cd8c.zip
src/include: Fix space between type, * and variable name
Fix the following errors detected by checkpatch.pl: ERROR: "foo * bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo*bar" should be "foo *bar" TEST=Build and run on Galileo Gen2 Change-Id: I5a3ff8b92e3ceecb4ddf45d8840454d5310fc6b3 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18655 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/device/resource.h')
-rw-r--r--src/include/device/resource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/device/resource.h b/src/include/device/resource.h
index 947bcddb6533..7791e70009bc 100644
--- a/src/include/device/resource.h
+++ b/src/include/device/resource.h
@@ -37,7 +37,7 @@ struct resource {
resource_t base; /* Base address of the resource */
resource_t size; /* Size of the resource */
resource_t limit; /* Largest valid value base + size -1 */
- ROMSTAGE_CONST struct resource* next; /* Next resource in the list */
+ ROMSTAGE_CONST struct resource *next; /* Next resource in the list */
unsigned long flags; /* Descriptions of the kind of resource */
unsigned long index; /* Bus specific per device resource id */
unsigned char align; /* Required alignment (log 2) of the resource */
@@ -56,13 +56,13 @@ struct resource {
/* Generic resource helper functions */
struct device;
struct bus;
-extern void compact_resources(struct device * dev);
+extern void compact_resources(struct device *dev);
extern struct resource *probe_resource(struct device *dev, unsigned int index);
-extern struct resource *new_resource(struct device * dev, unsigned int index);
-extern struct resource *find_resource(struct device * dev, unsigned int index);
+extern struct resource *new_resource(struct device *dev, unsigned int index);
+extern struct resource *find_resource(struct device *dev, unsigned int index);
extern resource_t resource_end(struct resource *resource);
extern resource_t resource_max(struct resource *resource);
-extern void report_resource_stored(struct device * dev, struct resource *resource, const char *comment);
+extern void report_resource_stored(struct device *dev, struct resource *resource, const char *comment);
typedef void (*resource_search_t)(void *gp, struct device *dev, struct resource *res);
extern void search_bus_resources(struct bus *bus,