提交 59f2ad2e 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

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: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 4d1cdbf6
...@@ -57,7 +57,7 @@ struct asic3_clk { ...@@ -57,7 +57,7 @@ struct asic3_clk {
.rate = _rate, \ .rate = _rate, \
} }
struct asic3_clk asic3_clk_init[] __initdata = { static struct asic3_clk asic3_clk_init[] __initdata = {
INIT_CDEX(SPI, 0), INIT_CDEX(SPI, 0),
INIT_CDEX(OWM, 5000000), INIT_CDEX(OWM, 5000000),
INIT_CDEX(PWM0, 0), INIT_CDEX(PWM0, 0),
...@@ -102,7 +102,7 @@ static inline u32 asic3_read_register(struct asic3 *asic, ...@@ -102,7 +102,7 @@ static inline u32 asic3_read_register(struct asic3 *asic,
(reg >> asic->bus_shift)); (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; unsigned long flags;
u32 val; u32 val;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册