Commit 80f23305 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] Fix undefined reference to `au8522_attach'

au8522_attach is dependent on CONFIG_DVB_AU8522_DTV, not CONFIG_DVB_AU8522.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 02745f63
...@@ -61,7 +61,7 @@ struct au8522_config { ...@@ -61,7 +61,7 @@ struct au8522_config {
enum au8522_if_freq qam_if; 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, extern struct dvb_frontend *au8522_attach(const struct au8522_config *config,
struct i2c_adapter *i2c); struct i2c_adapter *i2c);
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment