]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/mmu.c
OMAP: MMU: Fix inconsistency to unregister device MMU
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / mmu.c
index f8bb6dfa11ac0d2eca8164468b77610764a0b7fc..66f5a3e2d46f03ad94f681976c9b6aa4704bf479 100644 (file)
@@ -143,7 +143,7 @@ static int omap2_mmu_startup(struct omap_mmu *mmu)
 
        dspvect_page = (void *)__get_dma_pages(GFP_KERNEL, 0);
        if (dspvect_page == NULL) {
-               dev_err(&mmu->dev, "MMU %s: failed to allocate memory "
+               dev_err(mmu->dev, "MMU %s: failed to allocate memory "
                        "for vector table\n", mmu->name);
                return -ENOMEM;
        }
@@ -256,7 +256,7 @@ omap2_mmu_cam_ram_alloc(struct omap_mmu *mmu, struct omap_mmu_tlb_entry *entry)
        struct cam_ram_regset *cr;
 
        if (entry->va & ~(get_cam_va_mask(entry->pgsz))) {
-               dev_err(&mmu->dev, "MMU %s: mapping vadr (0x%06lx) is not on"
+               dev_err(mmu->dev, "MMU %s: mapping vadr (0x%06lx) is not on"
                        " an aligned boundary\n", mmu->name, entry->va);
                return ERR_PTR(-EINVAL);
        }