forked from Imagelibrary/seL4
python: cleanup devices_gen.h template
Signed-off-by: Axel Heider <axelheider@gmx.de>
This commit is contained in:
committed by
Gerwin Klein
parent
bac15924ad
commit
d31019ff0a
@@ -52,7 +52,6 @@ HEADER_TEMPLATE = '''/*
|
||||
{% if irq.has_enable() %}
|
||||
{{ irq.get_enable_endif() }}
|
||||
{% endif %}
|
||||
|
||||
{% endfor -%}
|
||||
|
||||
/* KERNEL DEVICES */
|
||||
@@ -88,6 +87,7 @@ static const kernel_frame_t BOOT_RODATA kernel_device_frames[] = {
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
};
|
||||
|
||||
/* Elements in kernel_device_frames may be enabled in specific configurations
|
||||
* only, but the ARRAY_SIZE() macro will automatically take care of this.
|
||||
* However, one corner case remains unsolved where all elements are disabled
|
||||
|
||||
Reference in New Issue
Block a user