Skip to content

Commit

Permalink
mfd: Staticise unexported symbols in ASIC3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jan 14, 2011
1 parent 4d1cdbf commit 59f2ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 59f2ad2

Please sign in to comment.