diff options
author | Gonzalo Silvalde Blanco <gonzalo.silvalde@gmail.com> | 2024-10-04 17:24:29 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-10-15 10:07:31 +0200 |
commit | 447794e44744aff3c0f11942b83b878b8bb6f72b (patch) | |
tree | a01d1a89080cc42324e0bedc319ac911dbbb4993 /rust/helpers/bug.c | |
parent | 8e929cb546ee42c9a61d24fae60605e9e3192354 (diff) |
fbdev: sstfb: Make CONFIG_FB_DEVICE optional
The sstfb driver currently depends on CONFIG_FB_DEVICE to create sysfs
entries and access info->dev. This patch wraps the relevant code blocks
with #ifdef CONFIG_FB_DEVICE, allowing the driver to be built and used
even if CONFIG_FB_DEVICE is not selected.
The sysfs setting only controls the VGA pass-through state and is not
required for the display to work correctly.
(See: http://vogonswiki.com/index.php/VGA_passthrough_cable
for more information.)
Added some fixes from Thomas Zimmermann.
Signed-off-by: Gonzalo Silvalde Blanco <gonzalo.silvalde@gmail.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions