Commit 52dbb57c authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

[media] au8522_common: dont EXPORT_SYMBOL(au8522_led_gpio_enable)

This function is only called from within au8522_common.c - mark it static.
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0a7b5e27
...@@ -127,7 +127,7 @@ void au8522_release_state(struct au8522_state *state) ...@@ -127,7 +127,7 @@ void au8522_release_state(struct au8522_state *state)
} }
EXPORT_SYMBOL(au8522_release_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; struct au8522_led_config *led_config = state->config->led_cfg;
u8 val; u8 val;
...@@ -151,7 +151,6 @@ int au8522_led_gpio_enable(struct au8522_state *state, int onoff) ...@@ -151,7 +151,6 @@ int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
return au8522_writereg(state, 0x8000 | return au8522_writereg(state, 0x8000 |
(led_config->gpio_output & ~0xc000), val); (led_config->gpio_output & ~0xc000), val);
} }
EXPORT_SYMBOL(au8522_led_gpio_enable);
/* led = 0 | off /* led = 0 | off
* led = 1 | signal ok * led = 1 | signal ok
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment