diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-19 09:36:27 +0100 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-01-10 11:15:44 +0100 |
commit | 000458b5966fab07568cd6cf5d044314f448e34c (patch) | |
tree | 31e7152840eca236d9fe07f52a42fb9b4fdebe19 /drivers/gpu/drm/gma500 | |
parent | drm/panel: raspberrypi-touchscreen: Convert to i2c's .probe_new() (diff) | |
download | linux-000458b5966fab07568cd6cf5d044314f448e34c.tar.xz linux-000458b5966fab07568cd6cf5d044314f448e34c.zip |
drm: Only select I2C_ALGOBIT for drivers that actually need it
While working on a drm driver that doesn't need the i2c algobit stuff I
noticed that DRM selects this code even though only 8 drivers actually use
it. While also only some drivers use i2c, keep the select for I2C for the
next cleanup patch. Still prepare this already by also selecting I2C for
the individual drivers.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221219083627.1401627-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig index 807b989e3c77..2efc0eb41c64 100644 --- a/drivers/gpu/drm/gma500/Kconfig +++ b/drivers/gpu/drm/gma500/Kconfig @@ -3,6 +3,8 @@ config DRM_GMA500 tristate "Intel GMA500/600/3600/3650 KMS Framebuffer" depends on DRM && PCI && X86 && MMU select DRM_KMS_HELPER + select I2C + select I2C_ALGOBIT # GMA500 depends on ACPI_VIDEO when ACPI is enabled, just like i915 select ACPI_VIDEO if ACPI select BACKLIGHT_CLASS_DEVICE if ACPI |