summaryrefslogtreecommitdiff
path: root/rcc
diff options
context:
space:
mode:
Diffstat (limited to 'rcc')
-rw-r--r--rcc/rcc_enums.h.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/rcc/rcc_enums.h.j2 b/rcc/rcc_enums.h.j2
index 97e85b9..a4965b0 100644
--- a/rcc/rcc_enums.h.j2
+++ b/rcc/rcc_enums.h.j2
@@ -5,7 +5,7 @@
namespace rcc {
{% for bus, devices in buses.items() %}
enum {{ bus }}_dev {
- {% for num, name in devices.items() %}
+ {% for name, num in devices.items() %}
{{ name }} = 1 << {{ num }},
{% endfor %}
};