summaryrefslogtreecommitdiffstats
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 5527685..8ab2a13 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -81,7 +81,7 @@ typedef enum device_state {
struct resource;
struct resource_list_entry {
- SLIST_ENTRY(struct resource_list_entry) link;
+ SLIST_ENTRY(resource_list_entry) link;
int type; /* type argument to alloc_resource */
int rid; /* resource identifier */
struct resource *res; /* the real resource when allocated */
@@ -89,7 +89,7 @@ struct resource_list_entry {
u_long end; /* end of resource range */
u_long count; /* count within range */
};
-SLIST_HEAD(resource_list, struct resource_list_entry);
+SLIST_HEAD(resource_list, resource_list_entry);
/*
* Initialise a resource list.
OpenPOWER on IntegriCloud