summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/mt312.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/mt312.h')
-rw-r--r--drivers/media/dvb-frontends/mt312.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/mt312.h b/drivers/media/dvb-frontends/mt312.h
index 29e3bb5496b8..5706621ad79d 100644
--- a/drivers/media/dvb-frontends/mt312.h
+++ b/drivers/media/dvb-frontends/mt312.h
@@ -36,7 +36,7 @@ struct mt312_config {
unsigned int voltage_inverted:1;
};
-#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_MT312)
struct dvb_frontend *mt312_attach(const struct mt312_config *config,
struct i2c_adapter *i2c);
#else