sparc: remove references to of_device and to_of_device
[deliverable/linux.git] / arch / sparc / kernel / ioport.c
index 703e4aa9bc38420fde79f7a7fdbc6b9bb60045b6..41f7e4e0f72a65a900985c485a816a4721206c89 100644 (file)
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(sbus_set_sbus64);
 static void *sbus_alloc_coherent(struct device *dev, size_t len,
                                 dma_addr_t *dma_addrp, gfp_t gfp)
 {
-       struct of_device *op = to_of_device(dev);
+       struct platform_device *op = to_platform_device(dev);
        unsigned long len_total = (len + PAGE_SIZE-1) & PAGE_MASK;
        unsigned long va;
        struct resource *res;
This page took 0.034549 seconds and 5 git commands to generate.