Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1e62498 authored by Paul Walmsley's avatar Paul Walmsley
Browse files

OMAP clock: remove incorrect EXPORT_SYMBOL()s



The only symbols that should be exported are symbols that are to be
called from loadable kernel modules, e.g., device drivers.  In the
context of plat-omap/clock.c, these should only be the Linux clock
interface symbols as defined by include/linux/clk.h.  Core code
doesn't need these symbols to be exported.  Also, clean up an old
comment while here.

Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 3e3ee156
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -36,10 +36,6 @@ static struct clk_functions *arch_clock;
 * Standard clock functions defined in include/linux/clk.h
 *-------------------------------------------------------------------------*/

/* This functions is moved to arch/arm/common/clkdev.c. For OMAP4 since
 * clock framework is not up , it is defined here to avoid rework in
 * every driver. Also dummy prcm reset function is added */

int clk_enable(struct clk *clk)
{
	unsigned long flags;
@@ -305,7 +301,6 @@ void clk_enable_init_clocks(void)
			clk_enable(clkp);
	}
}
EXPORT_SYMBOL(clk_enable_init_clocks);

/*
 * Low level helpers
@@ -334,7 +329,6 @@ void clk_init_cpufreq_table(struct cpufreq_frequency_table **table)
		arch_clock->clk_init_cpufreq_table(table);
	spin_unlock_irqrestore(&clockfw_lock, flags);
}
EXPORT_SYMBOL(clk_init_cpufreq_table);
#endif

/*-------------------------------------------------------------------------*/