Commit bc6aae8d authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

scripts: extract_dts_includes: Sanitize interrupt names



Its possible we have dashes in interrupt names that we need to convert
to underscores when we generate defines.  Make sure we do that otherwise
things aren't going to build.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent f1175057
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
            name = []
        else:
            try:
                name = [names.pop(0).upper()]
                name = [convert_string_to_label(names.pop(0)).upper()]
            except:
                name = []