]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: ux500: Remove mop500_snowball_ethernet_clock_enable()
authorLee Jones <lee.jones@linaro.org>
Tue, 18 Jun 2013 08:51:59 +0000 (09:51 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Jun 2013 12:48:39 +0000 (14:48 +0200)
mop500_snowball_ethernet_clock_enable() provided a means to enable a
clock which was used for the SMSC911x Ethernet device on Snowball. It
was merely a stand-in until the driver was common clk compliant. Now
that it is, this can be removed for both DT and ATAGs booting.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/board-mop500.h
arch/arm/mach-ux500/cpu-db8500.c

index 78389de94dde34f6eaee0f73c479d33eda4846dd..70a8057f3acfe00b6a3340cf8db025d198dae5d8 100644 (file)
@@ -413,15 +413,6 @@ static void mop500_prox_deactivate(struct device *dev)
        regulator_put(prox_regulator);
 }
 
-void mop500_snowball_ethernet_clock_enable(void)
-{
-       struct clk *clk;
-
-       clk = clk_get_sys("fsmc", NULL);
-       if (!IS_ERR(clk))
-               clk_prepare_enable(clk);
-}
-
 static struct cryp_platform_data u8500_cryp1_platform_data = {
                .mem_to_engine = {
                                .dir = STEDMA40_MEM_TO_PERIPH,
@@ -674,8 +665,6 @@ static void __init snowball_init_machine(void)
        mop500_audio_init(parent);
        mop500_uart_init(parent);
 
-       mop500_snowball_ethernet_clock_enable();
-
        /* This board has full regulator constraints */
        regulator_has_full_constraints();
 }
index 49514b825034b6af289c12093d96a5edc2f12755..16bf1ac020a8d5ef9237a2ab5e0a34e6dfb9530c 100644 (file)
@@ -104,7 +104,6 @@ void __init mop500_pinmaps_init(void);
 void __init snowball_pinmaps_init(void);
 void __init hrefv60_pinmaps_init(void);
 void mop500_audio_init(struct device *parent);
-void mop500_snowball_ethernet_clock_enable(void);
 
 int __init mop500_uib_init(void);
 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
index 46cca52890bcfd486f30018556059c12bcf22391..17a487177dab10ededb0c7502e479193903b8150 100644 (file)
@@ -309,7 +309,6 @@ static void __init u8500_init_machine(void)
                mop500_pinmaps_init();
        else if (of_machine_is_compatible("calaosystems,snowball-a9500")) {
                snowball_pinmaps_init();
-               mop500_snowball_ethernet_clock_enable();
        } else if (of_machine_is_compatible("st-ericsson,hrefv60+"))
                hrefv60_pinmaps_init();
        else if (of_machine_is_compatible("st-ericsson,ccu9540")) {}