drm/bridge: PTN3460 needs DRM_KMS_HELPER
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Mar 2014 11:06:46 +0000 (12:06 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Mar 2014 02:03:12 +0000 (12:03 +1000)
The recently added PTN3460 device driver uses interfaces that
are provided by the KMS helper infrastructure, so we should
explicitly select that to avoid this linker error:

ERROR: "drm_helper_probe_single_connector_modes" [drivers/gpu/drm/bridge/ptn3460.ko] undefined!
ERROR: "drm_helper_connector_dpms" [drivers/gpu/drm/bridge/ptn3460.ko] undefined!

We have to drop the I2C dependency to avoid a circular dependency
chain, but that's ok because DRM already selects I2C.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/bridge/Kconfig

index f8db06959ae8d90b1cadc069fd62ab1b6ef4a570..884923f982d9256d638a0e6c114b43bb7079f3cf 100644 (file)
@@ -1,4 +1,5 @@
 config DRM_PTN3460
        tristate "PTN3460 DP/LVDS bridge"
-       depends on DRM && I2C
+       depends on DRM
+       select DRM_KMS_HELPER
        ---help---