input: touchscreen: nova_0flash_mmi: Fix build

Fix the build when CONFIG_FB is disabled.

Change-Id: I086900c94939a967957d3111faa0ec41b3f8cac0
This commit is contained in:
Michael Bestas 2023-05-06 08:03:01 +03:00
parent 722e40639c
commit ca355f335c
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -245,7 +245,7 @@ struct nvt_ts_data {
atomic_t loading_fw;
uint32_t build_id;
uint32_t config_id;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) || defined(NVT_CONFIG_DRM_PANEL))
#if defined(CONFIG_DRM)
struct notifier_block drm_notif;
#endif