diff options
| author | Gonzalo Silvalde Blanco <[email protected]> | 2024-10-04 15:24:29 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2024-10-15 08:07:31 +0000 |
| commit | 447794e44744aff3c0f11942b83b878b8bb6f72b (patch) | |
| tree | a01d1a89080cc42324e0bedc319ac911dbbb4993 /rust/helpers | |
| parent | Linux 6.12-rc3 (diff) | |
| download | kernel-447794e44744aff3c0f11942b83b878b8bb6f72b.tar.gz kernel-447794e44744aff3c0f11942b83b878b8bb6f72b.zip | |
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 <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
