Skip to content

Commit

Permalink
[media] sp2: sp2_init() can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Mauro Carvalho Chehab committed Nov 3, 2014
1 parent 01bd399 commit 167921c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb-frontends/sp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ int sp2_ci_poll_slot_status(struct dvb_ca_en50221 *en50221,
return s->status;
}

int sp2_init(struct sp2 *s)
static int sp2_init(struct sp2 *s)
{
int ret = 0;
u8 buf;
Expand Down Expand Up @@ -348,7 +348,7 @@ int sp2_init(struct sp2 *s)
return ret;
}

int sp2_exit(struct i2c_client *client)
static int sp2_exit(struct i2c_client *client)
{
struct sp2 *s;

Expand Down

0 comments on commit 167921c

Please sign in to comment.