summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2013-05-30 15:56:09 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2013-09-03 14:04:53 -0700
commit2ce5310fed626eb492321342a8861d31309d8ab0 (patch)
tree1cd0c6e86f21ef25387f3b77709d0813fda281d9 /include
parentaa99de418f57a2a6d5c1cf6b3257557589541dc9 (diff)
fec: add phy irq field
Diffstat (limited to 'include')
-rw-r--r--include/linux/fec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h
index 7d4e73d138ce..f50067ac7550 100644
--- a/include/linux/fec.h
+++ b/include/linux/fec.h
@@ -21,7 +21,10 @@ struct fec_platform_data {
int (*power_hibernate) (struct phy_device *);
phy_interface_t phy;
unsigned char mac[ETH_ALEN];
- int gpio_irq;
+#ifdef CONFIG_MX6_ENET_IRQ_TO_GPIO
+ unsigned int gpio_irq;
+#endif
+ int phy_irq;
};
#endif