]> Git Repo - u-boot.git/blobdiff - drivers/video/backlight_gpio.c
dm: treewide: Rename auto_alloc_size members to be shorter
[u-boot.git] / drivers / video / backlight_gpio.c
index fb1525b478c4efd3f6f516ce08124f83986a05ae..8e34022d8362596832e1b09aae67ab76bfeb2568 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <backlight.h>
+#include <log.h>
 #include <asm/gpio.h>
 
 struct gpio_backlight_priv {
@@ -67,5 +68,5 @@ U_BOOT_DRIVER(gpio_backlight) = {
        .ops    = &gpio_backlight_ops,
        .ofdata_to_platdata     = gpio_backlight_ofdata_to_platdata,
        .probe          = gpio_backlight_probe,
-       .priv_auto_alloc_size   = sizeof(struct gpio_backlight_priv),
+       .priv_auto      = sizeof(struct gpio_backlight_priv),
 };
This page took 0.026531 seconds and 4 git commands to generate.