# Re: \[PATCH v4 2/4\] staging: fbtft: Make FB\_DEVICE dependency optional

- From: Andy Shevchenko \<hidden\>
- Date: 2026-01-07 15:17:01 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/01/3356806
- Thread: https://ratatoskr.run/linux-fbdev/2026/01/3355805/t.md

```text
On Tue, Jan 06, 2026 at 08:42:55PM -0800, Chintan Patel wrote:
> 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.

Reviewed-by: Andy Shevchenko <redacted>

-- 
With Best Regards,
Andy Shevchenko


```
