sparc: remove references to of_device and to_of_device
[deliverable/linux.git] / arch / sparc / kernel / power.c
index abc194ed5a78bf8e2df397d120c42025bb4151d7..2c59f4d387dd6cf68e0c8bcd140be5bb67e551d5 100644 (file)
@@ -33,7 +33,7 @@ static int __devinit has_button_interrupt(unsigned int irq, struct device_node *
        return 1;
 }
 
-static int __devinit power_probe(struct of_device *op, const struct of_device_id *match)
+static int __devinit power_probe(struct platform_device *op, const struct of_device_id *match)
 {
        struct resource *res = &op->resource[0];
        unsigned int irq = op->archdata.irqs[0];
This page took 0.025267 seconds and 5 git commands to generate.