summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-03-24 09:21:15 +1000
committerDave Airlie <airlied@redhat.com>2014-03-24 09:21:15 +1000
commit63ac07cdee6e1f2bf748ac3f28662e3c01a72496 (patch)
treee291d2c38968a87b704c7f027dda5784f9007838 /include
parenta5a2391e275b4bff4ae42d4dac4fd42e6c98eb7a (diff)
drm/bridge/ptn3460: fix modular build
This failed to build =m, quick fix. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/bridge/ptn3460.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/bridge/ptn3460.h b/include/drm/bridge/ptn3460.h
index 8481816c0ea3..ff62344fec6c 100644
--- a/include/drm/bridge/ptn3460.h
+++ b/include/drm/bridge/ptn3460.h
@@ -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);