sparc: remove references to of_device and to_of_device
[deliverable/linux.git] / arch / sparc / kernel / prom_irqtrans.c
index 5702ad4710cb17e758d01b26c98375df19e9ae41..ce651147fabc7080c29987eba1bb1d8367d61673 100644 (file)
@@ -719,7 +719,7 @@ static unsigned int central_build_irq(struct device_node *dp,
                                      void *_data)
 {
        struct device_node *central_dp = _data;
-       struct of_device *central_op = of_find_device_by_node(central_dp);
+       struct platform_device *central_op = of_find_device_by_node(central_dp);
        struct resource *res;
        unsigned long imap, iclr;
        u32 tmp;
This page took 0.024078 seconds and 5 git commands to generate.