summaryrefslogtreecommitdiff
path: root/src/include/device/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/resource.h')
-rw-r--r--src/include/device/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device/resource.h b/src/include/device/resource.h
index 7160eec74a..1a8c451982 100644
--- a/src/include/device/resource.h
+++ b/src/include/device/resource.h
@@ -46,10 +46,10 @@ struct resource {
};
/* Macros to generate index values for resources */
-#define IOINDEX_SUBTRACTIVE(IDX,LINK) (0x10000000 + ((IDX) << 8) + LINK)
+#define IOINDEX_SUBTRACTIVE(IDX, LINK) (0x10000000 + ((IDX) << 8) + LINK)
#define IOINDEX_SUBTRACTIVE_LINK(IDX) (IDX & 0xff)
-#define IOINDEX(IDX,LINK) (((LINK) << 16) + IDX)
+#define IOINDEX(IDX, LINK) (((LINK) << 16) + IDX)
#define IOINDEX_LINK(IDX) (( IDX & 0xf0000) >> 16)
#define IOINDEX_IDX(IDX) (IDX & 0xffff)