diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-11 13:59:35 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-14 12:37:49 +0100 |
commit | 59f2ad2e0ee13bbb4cfb399e08df8c54b264dd39 (patch) | |
tree | e0b93ac85b923d467626677df30660a41d67ae01 | |
parent | mfd: Remove tps6586x device ID check (diff) | |
download | linux-59f2ad2e0ee13bbb4cfb399e08df8c54b264dd39.tar.xz linux-59f2ad2e0ee13bbb4cfb399e08df8c54b264dd39.zip |
mfd: Staticise unexported symbols in ASIC3
There's no use of either of these outside of the driver so they can be
declared static.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/asic3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 7de708d15d72..6b82eb0fa55c 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c @@ -57,7 +57,7 @@ struct asic3_clk { .rate = _rate, \ } -struct asic3_clk asic3_clk_init[] __initdata = { +static struct asic3_clk asic3_clk_init[] __initdata = { INIT_CDEX(SPI, 0), INIT_CDEX(OWM, 5000000), INIT_CDEX(PWM0, 0), @@ -102,7 +102,7 @@ static inline u32 asic3_read_register(struct asic3 *asic, (reg >> asic->bus_shift)); } -void asic3_set_register(struct asic3 *asic, u32 reg, u32 bits, bool set) +static void asic3_set_register(struct asic3 *asic, u32 reg, u32 bits, bool set) { unsigned long flags; u32 val; |