X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fmedia%2Fdvb-frontends%2Fa8293.h;h=b6ef6427cfa5ebaf422cc8a72d66f05f2581bbf8;hb=8cbc95ee748741939222c3d38584a40c92bedcdd;hp=ed29e5504f765c8e349d7c7a8cde3295e4417a73;hpb=969e5aa3b0162a02c4f287d48ff58ca2145acf1b;p=karo-tx-linux.git diff --git a/drivers/media/dvb-frontends/a8293.h b/drivers/media/dvb-frontends/a8293.h index ed29e5504f76..b6ef6427cfa5 100644 --- a/drivers/media/dvb-frontends/a8293.h +++ b/drivers/media/dvb-frontends/a8293.h @@ -21,12 +21,13 @@ #ifndef A8293_H #define A8293_H +#include + struct a8293_config { u8 i2c_addr; }; -#if defined(CONFIG_DVB_A8293) || \ - (defined(CONFIG_DVB_A8293_MODULE) && defined(MODULE)) +#if IS_ENABLED(CONFIG_DVB_A8293) extern struct dvb_frontend *a8293_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct a8293_config *cfg); #else