diff options
author | Thomas Zimmermann <[email protected]> | 2024-09-06 09:52:16 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-09-30 16:49:41 +0100 |
commit | 26228256b796eb0145bdfb2ae34ec8c4c0ef1319 (patch) | |
tree | 9c1d7d67582cb0919d0542a80a8ecff98a1a4180 /rust/helpers/build_bug.c | |
parent | d36870367c187daaa8a2c487d5ff1d57141eb039 (diff) |
backlight: lcd: Test against struct fb_info.lcd_dev
Add struct fb_info.lcd_dev for fbdev drivers to store a reference to
their lcd device. Update the lcd's fb_notifier_callback() to test for
this field. The lcd module can now detect if an lcd device belongs to
an fbdev device.
This works similar to the bl_dev for backlights and will allow for
the removal of the check_fb callback from several fbdev driver's lcd
devices.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions