Re: [PATCH v2 0/4] fbdev: Make CONFIG_FB_DEVICE optional for drivers

From
Andy Shevchenko <hidden>
Date
2025-12-27 14:25:13
Also in
dri-devel, linux-omap, linux-staging, lkml
Reply to
Chintan Patel, 2025-12-19
On Fri, Dec 19, 2025 at 7:43 AM Chintan Patel [off-list ref] wrote:
This series makes CONFIG_FB_DEVICE optional for fbdev drivers that use
it only for sysfs interfaces, addressing Thomas Zimmermann’s TODO to
remove hard FB_DEVICE dependencies.

The series introduces a small helper, dev_of_fbinfo(), which returns
NULL when CONFIG_FB_DEVICE=n. This allows sysfs code paths to be skipped
via runtime checks, avoids #ifdef CONFIG_FB_DEVICE clutter, and keeps
full compile-time syntax checking.
Please, address my comments and I give a tag for v3. I pretty much
like the series, thanks!

-- 
With Best Regards,
Andy Shevchenko
Thread (11 messages) 11 messages, 2 authors, last reply 2025-12-28
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