Explorar o código

drm/bridge/ptn3460: fix modular build

This failed to build =m, quick fix.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie %!s(int64=11) %!d(string=hai) anos
pai
achega
63ac07cdee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/drm/bridge/ptn3460.h

+ 1 - 1
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);