summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/autoport/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/autoport/main.go b/util/autoport/main.go
index 6e5c93cb54..3071559a3d 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -771,12 +771,12 @@ func main() {
}
mainboard.WriteString("\n")
if MainboardInit != "" {
- mainboard.WriteString(`static void mainboard_init(device_t dev)
+ mainboard.WriteString(`static void mainboard_init(struct device *dev)
{
` + MainboardInit + "}\n\n")
}
if MainboardInit != "" || MainboardEnable != "" {
- mainboard.WriteString("static void mainboard_enable(device_t dev)\n{\n")
+ mainboard.WriteString("static void mainboard_enable(struct device *dev)\n{\n")
if MainboardInit != "" {
mainboard.WriteString("\tdev->ops->init = mainboard_init;\n\n")
}