summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/Kconfig
diff options
context:
space:
mode:
authorGonzalo Silvalde Blanco <gonzalo.silvalde@gmail.com>2024-10-04 17:24:29 +0200
committerHelge Deller <deller@gmx.de>2024-10-15 10:07:31 +0200
commit447794e44744aff3c0f11942b83b878b8bb6f72b (patch)
treea01d1a89080cc42324e0bedc319ac911dbbb4993 /drivers/video/fbdev/Kconfig
parent8e929cb546ee42c9a61d24fae60605e9e3192354 (diff)
downloadlinux-447794e44744aff3c0f11942b83b878b8bb6f72b.tar.gz
linux-447794e44744aff3c0f11942b83b878b8bb6f72b.tar.bz2
linux-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 <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 'drivers/video/fbdev/Kconfig')
-rw-r--r--drivers/video/fbdev/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index ea36c6956bf3..44a8fdbab6df 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -1236,7 +1236,6 @@ config FB_3DFX_I2C
config FB_VOODOO1
tristate "3Dfx Voodoo Graphics (sst1) support"
depends on FB && PCI
- depends on FB_DEVICE
select FB_IOMEM_HELPERS
help
Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or