ARM: tegra: tegra2_clocks: don't export some tables
authorOlof Johansson <olof@lixom.net>
Fri, 9 Sep 2011 01:03:59 +0000 (18:03 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Oct 2011 21:08:29 +0000 (14:08 -0700)
Not used externally, and certainly don't need to be exported.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-tegra/tegra2_clocks.c

index 6dd5133..371869d 100644 (file)
@@ -1885,7 +1885,7 @@ static struct clk tegra_clk_audio_2x = {
        },
 };
 
-struct clk_lookup tegra_audio_clk_lookups[] = {
+static struct clk_lookup tegra_audio_clk_lookups[] = {
        { .con_id = "audio", .clk = &tegra_clk_audio },
        { .con_id = "audio_2x", .clk = &tegra_clk_audio_2x }
 };
@@ -2125,7 +2125,7 @@ static struct clk tegra_clk_emc = {
                .parent = _parent,                      \
        }
 
-struct clk tegra_list_clks[] = {
+static struct clk tegra_list_clks[] = {
        PERIPH_CLK("apbdma",    "tegra-dma",            NULL,   34,     0,      108000000, mux_pclk,                    0),
        PERIPH_CLK("rtc",       "rtc-tegra",            NULL,   4,      0,      32768,     mux_clk_32k,                 PERIPH_NO_RESET),
        PERIPH_CLK("timer",     "timer",                NULL,   5,      0,      26000000,  mux_clk_m,                   0),
@@ -2221,7 +2221,7 @@ struct clk tegra_list_clks[] = {
  * configuration.  List those here to register them twice in the clock lookup
  * table under two names.
  */
-struct clk_duplicate tegra_clk_duplicates[] = {
+static struct clk_duplicate tegra_clk_duplicates[] = {
        CLK_DUPLICATE("uarta",  "tegra_uart.0", NULL),
        CLK_DUPLICATE("uartb",  "tegra_uart.1", NULL),
        CLK_DUPLICATE("uartc",  "tegra_uart.2", NULL),
@@ -2252,7 +2252,7 @@ struct clk_duplicate tegra_clk_duplicates[] = {
                .clk = ck,      \
        }
 
-struct clk *tegra_ptr_clks[] = {
+static struct clk *tegra_ptr_clks[] = {
        &tegra_clk_32k,
        &tegra_pll_s,
        &tegra_clk_m,