summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/au8522.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2013-03-26 07:17:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-26 08:37:48 -0300
commit80f23305ba43f9eda9596092735bffc283b9ae8d (patch)
treede6d69ee0162c242721004413148f20da8b19968 /drivers/media/dvb-frontends/au8522.h
parent02745f63443c08b9b82ab2d654a0f5fc3699e586 (diff)
[media] Fix undefined reference to `au8522_attach'
au8522_attach is dependent on CONFIG_DVB_AU8522_DTV, not CONFIG_DVB_AU8522. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/au8522.h')
-rw-r--r--drivers/media/dvb-frontends/au8522.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/au8522.h b/drivers/media/dvb-frontends/au8522.h
index f2111e0fefda..83fe9a615619 100644
--- a/drivers/media/dvb-frontends/au8522.h
+++ b/drivers/media/dvb-frontends/au8522.h
@@ -61,7 +61,7 @@ struct au8522_config {
enum au8522_if_freq qam_if;
};
-#if IS_ENABLED(CONFIG_DVB_AU8522)
+#if IS_ENABLED(CONFIG_DVB_AU8522_DTV)
extern struct dvb_frontend *au8522_attach(const struct au8522_config *config,
struct i2c_adapter *i2c);
#else