[media] Fix undefined reference to `au8522_attach'
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 26 Mar 2013 10:17:42 +0000 (07:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 26 Mar 2013 11:37:48 +0000 (08:37 -0300)
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>
drivers/media/dvb-frontends/au8522.h

index f2111e0fefda68da2437bc1fea948ce4b9430038..83fe9a615619d83e9990a14932da18d206ab1921 100644 (file)
@@ -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