summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-04-09 18:51:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-19 09:49:53 -0300
commit52dbb57c2322d494116570cabee8d4c9658604d6 (patch)
tree9eef3015c4a1686b26ce14526217bc9341a96239
parent0a7b5e2747c55935944cac356cb48f03dc399b5a (diff)
[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 <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/au8522_common.c3
1 files changed, 1 insertions, 2 deletions
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