summaryrefslogtreecommitdiff
path: root/util/autoport/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/autoport/main.go')
-rw-r--r--util/autoport/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/autoport/main.go b/util/autoport/main.go
index 6b02a64e6c..35e21ab6c1 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -747,6 +747,7 @@ func main() {
if MainboardInit != "" || MainboardEnable != "" || MainboardIncludes != nil {
mainboard := Create(ctx, "mainboard.c")
defer mainboard.Close()
+ Add_gpl(mainboard)
mainboard.WriteString("#include <device/device.h>\n")
for _, include := range MainboardIncludes {
mainboard.WriteString("#include <" + include + ">\n")
@@ -825,9 +826,9 @@ func main() {
dsdt.WriteString("#define " + define.Key + " " + define.Value + "\n")
}
+ Add_gpl(dsdt)
dsdt.WriteString(
`
-
#include <acpi/acpi.h>
DefinitionBlock(