summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2013-03-26 11:17:42 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-26 12:37:48 +0100
commit80f23305ba43f9eda9596092735bffc283b9ae8d (patch)
treede6d69ee0162c242721004413148f20da8b19968 /drivers/media
parent[media] go7007: fix invalid use of sizeof in go7007_usb_i2c_master_xfer() (diff)
downloadlinux-80f23305ba43f9eda9596092735bffc283b9ae8d.tar.xz
linux-80f23305ba43f9eda9596092735bffc283b9ae8d.zip
[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')
-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