Re: [PATCH v3 2/4] staging: fbtft: Make FB_DEVICE dependency optional
From: Helge Deller
Date: Tue Dec 30 2025 - 03:03:37 EST
* Chintan Patel <chintanlike@xxxxxxxxx>:
> fbtft provides sysfs interfaces for debugging and gamma configuration,
> but these are not required for the core driver.
>
> Drop the hard dependency on CONFIG_FB_DEVICE and make sysfs support
> optional by using dev_of_fbinfo() at runtime. When FB_DEVICE is disabled,
> sysfs operations are skipped while the code remains buildable and
> type-checked.
>
> Suggested-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Suggested-by: Helge Deller <deller@xxxxxx>
> Signed-off-by: Chintan Patel <chintanlike@xxxxxxxxx>
Reviewed-by: Helge Deller <deller@xxxxxx>