diff options
-rw-r--r-- | arch/arm/mach-shmobile/board-lager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index fdcc868de1fa..30ebd0805a34 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/gpio_keys.h> | 22 | #include <linux/gpio_keys.h> |
23 | #include <linux/input.h> | 23 | #include <linux/input.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | ||
25 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
26 | #include <linux/leds.h> | 27 | #include <linux/leds.h> |
27 | #include <linux/mmc/host.h> | 28 | #include <linux/mmc/host.h> |
@@ -233,6 +234,7 @@ static const struct resource mmcif1_resources[] __initconst = { | |||
233 | /* Ether */ | 234 | /* Ether */ |
234 | static const struct sh_eth_plat_data ether_pdata __initconst = { | 235 | static const struct sh_eth_plat_data ether_pdata __initconst = { |
235 | .phy = 0x1, | 236 | .phy = 0x1, |
237 | .phy_irq = irq_pin(0), | ||
236 | .edmac_endian = EDMAC_LITTLE_ENDIAN, | 238 | .edmac_endian = EDMAC_LITTLE_ENDIAN, |
237 | .phy_interface = PHY_INTERFACE_MODE_RMII, | 239 | .phy_interface = PHY_INTERFACE_MODE_RMII, |
238 | .ether_link_active_low = 1, | 240 | .ether_link_active_low = 1, |
@@ -618,6 +620,8 @@ static void __init lager_init(void) | |||
618 | { | 620 | { |
619 | lager_add_standard_devices(); | 621 | lager_add_standard_devices(); |
620 | 622 | ||
623 | irq_set_irq_type(irq_pin(0), IRQ_TYPE_LEVEL_LOW); | ||
624 | |||
621 | if (IS_ENABLED(CONFIG_PHYLIB)) | 625 | if (IS_ENABLED(CONFIG_PHYLIB)) |
622 | phy_register_fixup_for_id("r8a7790-ether-ff:01", | 626 | phy_register_fixup_for_id("r8a7790-ether-ff:01", |
623 | lager_ksz8041_fixup); | 627 | lager_ksz8041_fixup); |