Re: [PATCH v4 2/4] staging: fbtft: Make FB_DEVICE dependency optional
From: Andy Shevchenko <hidden>
Date: 2026-01-07 15:17:01
Also in:
dri-devel, linux-fbdev, linux-omap, linux-staging
From: Andy Shevchenko <hidden>
Date: 2026-01-07 15:17:01
Also in:
dri-devel, linux-fbdev, linux-omap, linux-staging
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