script: kernel: Fix delay format to avoid build error
[glsdk/iodelay-config.git] / iodelay-autogen.py
index d6a8701f91a3a63ae3dd1b2be4c767ed6be36aba..3e887de13df0cc1efd0fbf0c3edaae5c17e5159e 100755 (executable)
@@ -504,7 +504,7 @@ def linux_format_delay_regs(delayconf, per_delayconf):
                for i in per_delayconf[per]:
                        (pad_name, pin_name, regname, del_offset, mode, adel, gdel) = i
 
                for i in per_delayconf[per]:
                        (pad_name, pin_name, regname, del_offset, mode, adel, gdel) = i
 
-                       print "\t\t\t0x%03X A_DELAY(%d) | G_DELAY(%d)\t/* %s */" % (del_offset, adel, gdel, regname)
+                       print "\t\t\t0x%03X (A_DELAY(%d) | G_DELAY(%d))\t/* %s */" % (del_offset, adel, gdel, regname)
                print "\t\t>;"
                print "\t};"
        print "};\n"
                print "\t\t>;"
                print "\t};"
        print "};\n"