drm: kconfig have drm core select i2c for kms
authorDave Airlie <airlied@linux.ie>
Sat, 13 Dec 2008 08:21:08 +0000 (18:21 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:24 +0000 (17:47 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig

index 6903e54..5130b72 100644 (file)
@@ -7,6 +7,8 @@
 menuconfig DRM
        tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
        depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
+       select I2C
+       select I2C_ALGOBIT
        help
          Kernel-level support for the Direct Rendering Infrastructure (DRI)
          introduced in XFree86 4.0. If you say Y here, you need to select
@@ -68,7 +70,6 @@ config DRM_I915
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
-       select I2C_ALGOBIT
        depends on FB
        tristate "i915 driver"
        help