summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-04-09 23:51:08 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-19 14:49:53 +0200
commit52dbb57c2322d494116570cabee8d4c9658604d6 (patch)
tree9eef3015c4a1686b26ce14526217bc9341a96239 /drivers/media/dvb/frontends
parent[media] au8522_common: add missing MODULE_LICENSE (diff)
downloadlinux-52dbb57c2322d494116570cabee8d4c9658604d6.tar.xz
linux-52dbb57c2322d494116570cabee8d4c9658604d6.zip
[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>
Diffstat (limited to 'drivers/media/dvb/frontends')
-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