mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
[media] sp2: sp2_init() can be static
drivers/media/dvb-frontends/sp2.c:269:5: sparse: symbol 'sp2_init' was not declared. Should it be static? drivers/media/dvb-frontends/sp2.c:351:5: sparse: symbol 'sp2_exit' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
01bd399a10
commit
167921cb0f
@ -266,7 +266,7 @@ int sp2_ci_poll_slot_status(struct dvb_ca_en50221 *en50221,
|
|||||||
return s->status;
|
return s->status;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sp2_init(struct sp2 *s)
|
static int sp2_init(struct sp2 *s)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
u8 buf;
|
u8 buf;
|
||||||
@ -348,7 +348,7 @@ err:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sp2_exit(struct i2c_client *client)
|
static int sp2_exit(struct i2c_client *client)
|
||||||
{
|
{
|
||||||
struct sp2 *s;
|
struct sp2 *s;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user