From: Hans Verkuil Date: Tue, 26 Mar 2013 10:17:42 +0000 (-0300) Subject: [media] Fix undefined reference to `au8522_attach' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80f23305ba43f9eda9596092735bffc283b9ae8d;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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