Skip to content

Commit

Permalink
drm/bridge: PTN3460 needs DRM_KMS_HELPER
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Dave Airlie committed Mar 27, 2014
1 parent e954a20 commit 90bde57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/bridge/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
config DRM_PTN3460
tristate "PTN3460 DP/LVDS bridge"
depends on DRM && I2C
depends on DRM
select DRM_KMS_HELPER
---help---

0 comments on commit 90bde57

Please sign in to comment.