diff options
author | Misael Lopez Cruz <x0052729@ti.com> | 2009-07-22 15:15:36 -0500 |
---|---|---|
committer | Misael Lopez Cruz <x0052729@ti.com> | 2009-07-24 04:50:09 -0500 |
commit | 12998c80f73ea565a7e4b32eb39807f9160498a0 (patch) | |
tree | 422fd80a1a5554d9a71b41d286d40c6acc79b0f5 | |
parent | da39383f924510cf4b48fc379af74149ec3deb7f (diff) |
ASoC: OMAP4: Staticise local functions in McPDM driver24.0.10
Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
-rwxr-xr-x | sound/soc/omap/mcpdm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/omap/mcpdm.c b/sound/soc/omap/mcpdm.c index f20af7188602..ccfe9af5faa2 100755 --- a/sound/soc/omap/mcpdm.c +++ b/sound/soc/omap/mcpdm.c @@ -33,14 +33,14 @@ #include "mcpdm.h" -struct omap_mcpdm *mcpdm; +static struct omap_mcpdm *mcpdm; -void omap_mcpdm_write(u16 reg, u32 val) +static void omap_mcpdm_write(u16 reg, u32 val) { __raw_writel(val, mcpdm->io_base + reg); } -int omap_mcpdm_read(u16 reg) +static int omap_mcpdm_read(u16 reg) { return __raw_readl(mcpdm->io_base + reg); } @@ -128,7 +128,7 @@ void omap_mcpdm_stop(int stream) } EXPORT_SYMBOL(omap_mcpdm_stop); -int omap_mcpdm_get_channels(int links, int channels) +static int omap_mcpdm_get_channels(int links, int channels) { int count; @@ -468,7 +468,7 @@ static struct omap_mcpdm_platform_data mcpdm_pdata = { .irq = INT_44XX_MCPDM_IRQ, }; -int __init omap_mcpdm_init(void) +static int __init omap_mcpdm_init(void) { int ret; struct platform_device *device; |