From: Michael Krufky Date: Mon, 9 Apr 2012 21:51:08 +0000 (-0300) Subject: [media] au8522_common: dont EXPORT_SYMBOL(au8522_led_gpio_enable) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=52dbb57c2322d494116570cabee8d4c9658604d6;p=openwrt%2Fstaging%2Fblogic.git [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: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/au8522_common.c b/drivers/media/dvb/frontends/au8522_common.c index 625c5046c52b..5cfe151ee394 100644 --- a/drivers/media/dvb/frontends/au8522_common.c +++ b/drivers/media/dvb/frontends/au8522_common.c @@ -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