|
@@ -72,15 +72,6 @@ static struct omap_smsc911x_platform_data smsc911x_cfg = {
|
|
|
|
|
|
static inline void __init omap3stalker_init_eth(void)
|
|
static inline void __init omap3stalker_init_eth(void)
|
|
{
|
|
{
|
|
- struct clk *l3ck;
|
|
|
|
- unsigned int rate;
|
|
|
|
-
|
|
|
|
- l3ck = clk_get(NULL, "l3_ck");
|
|
|
|
- if (IS_ERR(l3ck))
|
|
|
|
- rate = 100000000;
|
|
|
|
- else
|
|
|
|
- rate = clk_get_rate(l3ck);
|
|
|
|
-
|
|
|
|
omap_mux_init_gpio(19, OMAP_PIN_INPUT_PULLUP);
|
|
omap_mux_init_gpio(19, OMAP_PIN_INPUT_PULLUP);
|
|
gpmc_smsc911x_init(&smsc911x_cfg);
|
|
gpmc_smsc911x_init(&smsc911x_cfg);
|
|
}
|
|
}
|