Skip to content

Commit

Permalink
[media] au8522_common: dont EXPORT_SYMBOL(au8522_led_gpio_enable)
Browse files Browse the repository at this point in the history
This function is only called from within au8522_common.c - mark it static.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 19, 2012
1 parent 0a7b5e2 commit 52dbb57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/dvb/frontends/au8522_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void au8522_release_state(struct au8522_state *state)
}
EXPORT_SYMBOL(au8522_release_state);

int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
static int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
{
struct au8522_led_config *led_config = state->config->led_cfg;
u8 val;
Expand All @@ -151,7 +151,6 @@ int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
return au8522_writereg(state, 0x8000 |
(led_config->gpio_output & ~0xc000), val);
}
EXPORT_SYMBOL(au8522_led_gpio_enable);

/* led = 0 | off
* led = 1 | signal ok
Expand Down

0 comments on commit 52dbb57

Please sign in to comment.