]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: video: hx8238 fix build bug
authorGireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Fri, 11 Jun 2021 16:13:46 +0000 (16:13 +0000)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 12:26:03 +0000 (17:56 +0530)
update panel driver hx8238
fix build bug

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210611161350.2141-15-Gireesh.Hiremath@in.bosch.com
drivers/video/Makefile
drivers/video/hx8238d.c

index 933f06e9d8d6b556827d61eed35e2f99d5f90fd0..1c534a6f9adcd73d40afb6d01287e97a532dc410 100644 (file)
@@ -15,7 +15,7 @@ obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi-host-uclass.o
 obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
 obj-$(CONFIG_DM_VIDEO) += video_bmp.o
 obj-$(CONFIG_PANEL) += panel-uclass.o
-obj-$(CONFIG_PANEL_HX8238D) += hx8238d.o
+obj-$(CONFIG_DM_PANEL_HX8238D) += hx8238d.o
 obj-$(CONFIG_SIMPLE_PANEL) += simple_panel.o
 endif
 
index f7e7753a53d2da57169ce7ac5434d7b445a462dd..6ee97cb4ff3a8ae344fae7ca766284ea384a865f 100644 (file)
@@ -191,7 +191,7 @@ U_BOOT_DRIVER(hx8238d) = {
        .name = "hx8238d",
        .id = UCLASS_PANEL,
        .of_match = hx8238d_ids,
-       .ofdata_to_platdata = hx8238d_ofdata_to_platdata,
+       .of_to_plat = hx8238d_ofdata_to_platdata,
        .probe = hx8238d_probe,
-       .priv_auto_alloc_size = sizeof(struct hx8238d_priv),
+       .priv_auto = sizeof(struct hx8238d_priv),
 };