OSDN Git Service

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 8481816..ff62344 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);