Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
@@ -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