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-omap, linux-staging, lkml
Reply to
Chintan Patel, 2026-01-07
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

Thread (13 messages) 13 messages, 4 authors, last reply 2026-01-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help