]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: boe-th101mb31ig002-28a: Fix compilation build
authorMaxime Ripard <mripard@kernel.org>
Tue, 8 Apr 2025 12:20:07 +0000 (14:20 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 8 Apr 2025 14:35:52 +0000 (17:35 +0300)
commitbce319a16072ead8c60a4546cdb426c449e893ec
treec8fb73b1f687e0d647de5fe88f11a60aae14fd69
parenta46b02f7a8453cc5e5efde593dd7edf11ee0bf14
drm/panel: boe-th101mb31ig002-28a: Fix compilation build

Commit 77dcbce63779 ("panel/th101mb31ig002-28a: Use refcounted
allocation in place of devm_kzalloc()") switched from a kmalloc +
drm_panel_init call to a devm_drm_panel_alloc one.

However, the variable it was storing the allocated pointer in doesn't
exist, resulting in a compilation breakage.

Fixes: 77dcbce63779 ("panel/th101mb31ig002-28a: Use refcounted allocation in place of devm_kzalloc()")
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250408122008.1676235-2-mripard@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c