drm/bridge/ptn3460: fix modular build
authorDave Airlie <airlied@redhat.com>
Sun, 23 Mar 2014 23:21:15 +0000 (09:21 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 23 Mar 2014 23:21:15 +0000 (09:21 +1000)
This failed to build =m, quick fix.

Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/bridge/ptn3460.h

index 8481816c0ea344020669ab1aac072b7cc31bb33d..ff62344fec6c07a67d32621fa22438aca2e99b1d 100644 (file)
@@ -19,7 +19,7 @@ struct drm_encoder;
 struct i2c_client;
 struct device_node;
 
-#ifdef CONFIG_DRM_PTN3460
+#if defined(CONFIG_DRM_PTN3460) || defined(CONFIG_DRM_PTN3460_MODULE)
 
 int ptn3460_init(struct drm_device *dev, struct drm_encoder *encoder,
                struct i2c_client *client, struct device_node *node);