Skip to content

Commit

Permalink
[media] Fix undefined reference to `au8522_attach'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 26, 2013
1 parent 02745f6 commit 80f2330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/au8522.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80f2330

Please sign in to comment.