aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-12-16 17:50:17 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-02-23 16:37:47 -0500
commitb4e518547da042fdc65bd4bdafd046fed13337d5 (patch)
tree822699cd36da40399119d11b4820513af2eb22a7 /drivers
parent6d166fec12967063e0e709a935bba8c48fcde99e (diff)
irq_domain/x86: Convert x86 (embedded) to use common irq_domain
This patch removes the x86-specific definition of irq_domain and replaces it with the common implementation. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/mdio-gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c
index 50e8e5e74465..7189adf54bd1 100644
--- a/drivers/net/phy/mdio-gpio.c
+++ b/drivers/net/phy/mdio-gpio.c
@@ -255,13 +255,13 @@ static inline int __init mdio_ofgpio_init(void)
255 return platform_driver_register(&mdio_ofgpio_driver); 255 return platform_driver_register(&mdio_ofgpio_driver);
256} 256}
257 257
258static inline void __exit mdio_ofgpio_exit(void) 258static inline void mdio_ofgpio_exit(void)
259{ 259{
260 platform_driver_unregister(&mdio_ofgpio_driver); 260 platform_driver_unregister(&mdio_ofgpio_driver);
261} 261}
262#else 262#else
263static inline int __init mdio_ofgpio_init(void) { return 0; } 263static inline int __init mdio_ofgpio_init(void) { return 0; }
264static inline void __exit mdio_ofgpio_exit(void) { } 264static inline void mdio_ofgpio_exit(void) { }
265#endif /* CONFIG_OF_GPIO */ 265#endif /* CONFIG_OF_GPIO */
266 266
267static struct platform_driver mdio_gpio_driver = { 267static struct platform_driver mdio_gpio_driver = {