From 454bb63993bcb0ac510662b143c51452c1c23765 Mon Sep 17 00:00:00 2001 From: internal <> Date: Tue, 12 Sep 2023 14:57:09 +0200 Subject: [PATCH] use EXPORT_SYMBOL_GPL for frontends to fix problems with kernel 6.5.2 --- frontends/cxd2099.c | 2 +- frontends/cxd2843.c | 2 +- frontends/drxk_hard.c | 2 +- frontends/lnbh25.c | 2 +- frontends/lnbp21.c | 4 ++-- frontends/stv0367.c | 4 ++-- frontends/stv0367dd.c | 2 +- frontends/stv090x.c | 2 +- frontends/stv6110x.c | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/frontends/cxd2099.c b/frontends/cxd2099.c index 21da685..93935dd 100644 --- a/frontends/cxd2099.c +++ b/frontends/cxd2099.c @@ -780,7 +780,7 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, return &ci->en; } -EXPORT_SYMBOL(cxd2099_attach); +EXPORT_SYMBOL_GPL(cxd2099_attach); MODULE_DESCRIPTION("cxd2099"); MODULE_AUTHOR("Ralph Metzler"); diff --git a/frontends/cxd2843.c b/frontends/cxd2843.c index b2ce30f..3e16ee6 100644 --- a/frontends/cxd2843.c +++ b/frontends/cxd2843.c @@ -2701,7 +2701,7 @@ struct dvb_frontend *cxd2843_attach(struct i2c_adapter *i2c, kfree(state); return NULL; } -EXPORT_SYMBOL(cxd2843_attach); +EXPORT_SYMBOL_GPL(cxd2843_attach); MODULE_DESCRIPTION("CXD2843/37/38 driver"); MODULE_AUTHOR("Ralph Metzler, Manfred Voelkel"); diff --git a/frontends/drxk_hard.c b/frontends/drxk_hard.c index a6553d4..640f3a2 100644 --- a/frontends/drxk_hard.c +++ b/frontends/drxk_hard.c @@ -5097,4 +5097,4 @@ MODULE_DESCRIPTION("DRX-K driver"); MODULE_AUTHOR("Ralph Metzler"); MODULE_LICENSE("GPL v2"); -EXPORT_SYMBOL(drxk_attach); +EXPORT_SYMBOL_GPL(drxk_attach); diff --git a/frontends/lnbh25.c b/frontends/lnbh25.c index 823ac15..fcca231 100644 --- a/frontends/lnbh25.c +++ b/frontends/lnbh25.c @@ -152,7 +152,7 @@ struct dvb_frontend *lnbh25_attach(struct dvb_frontend *fe, return fe; } -EXPORT_SYMBOL(lnbh25_attach); +EXPORT_SYMBOL_GPL(lnbh25_attach); MODULE_DESCRIPTION("LNBH25"); MODULE_AUTHOR("Ralph Metzler"); diff --git a/frontends/lnbp21.c b/frontends/lnbp21.c index 61e4269..0c3c74e 100644 --- a/frontends/lnbp21.c +++ b/frontends/lnbp21.c @@ -178,7 +178,7 @@ struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe, return lnbx2x_attach(fe, i2c, override_set, override_clear, i2c_addr, LNBH24_TTX); } -EXPORT_SYMBOL(lnbh24_attach); +EXPORT_SYMBOL_GPL(lnbh24_attach); struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 override_set, @@ -187,7 +187,7 @@ struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, return lnbx2x_attach(fe, i2c, override_set, override_clear, 0x08, LNBP21_ISEL); } -EXPORT_SYMBOL(lnbp21_attach); +EXPORT_SYMBOL_GPL(lnbp21_attach); MODULE_DESCRIPTION("Driver for lnb supply and control ic lnbp21, lnbh24"); MODULE_AUTHOR("Oliver Endriss, Igor M. Liplianin"); diff --git a/frontends/stv0367.c b/frontends/stv0367.c index 8bb9cf5..32d1035 100644 --- a/frontends/stv0367.c +++ b/frontends/stv0367.c @@ -2338,7 +2338,7 @@ error: kfree(state); return NULL; } -EXPORT_SYMBOL(stv0367ter_attach); +EXPORT_SYMBOL_GPL(stv0367ter_attach); static int stv0367cab_gate_ctrl(struct dvb_frontend *fe, int enable) { @@ -3462,7 +3462,7 @@ error: kfree(state); return NULL; } -EXPORT_SYMBOL(stv0367cab_attach); +EXPORT_SYMBOL_GPL(stv0367cab_attach); MODULE_PARM_DESC(debug, "Set debug"); MODULE_PARM_DESC(i2c_debug, "Set i2c debug"); diff --git a/frontends/stv0367dd.c b/frontends/stv0367dd.c index d127545..d97e59e 100644 --- a/frontends/stv0367dd.c +++ b/frontends/stv0367dd.c @@ -2154,7 +2154,7 @@ MODULE_DESCRIPTION("STV0367DD driver"); MODULE_AUTHOR("Ralph Metzler, Manfred Voelkel"); MODULE_LICENSE("GPL v2"); -EXPORT_SYMBOL(stv0367_attach); +EXPORT_SYMBOL_GPL(stv0367_attach); diff --git a/frontends/stv090x.c b/frontends/stv090x.c index 6ec0ecf..5a7dcaf 100644 --- a/frontends/stv090x.c +++ b/frontends/stv090x.c @@ -5254,7 +5254,7 @@ error: kfree(state); return NULL; } -EXPORT_SYMBOL(stv090x_attach); +EXPORT_SYMBOL_GPL(stv090x_attach); MODULE_PARM_DESC(verbose, "Set Verbosity level"); MODULE_AUTHOR("Manu Abraham"); MODULE_DESCRIPTION("STV090x Multi-Std Broadcast frontend"); diff --git a/frontends/stv6110x.c b/frontends/stv6110x.c index 4469f4a..7d104dd 100644 --- a/frontends/stv6110x.c +++ b/frontends/stv6110x.c @@ -407,7 +407,7 @@ const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe, printk(KERN_INFO "%s: Attaching STV6110x\n", __func__); return stv6110x->devctl; } -EXPORT_SYMBOL(stv6110x_attach); +EXPORT_SYMBOL_GPL(stv6110x_attach); MODULE_AUTHOR("Manu Abraham"); MODULE_DESCRIPTION("STV6110x Silicon tuner");