]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
gma500: mmu: mark psb_mmu_free_pt() and psb_mmu_pt_alloc_map_lock() as static
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:04:20 +0000 (16:04 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:06:01 +0000 (13:06 +0000)
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/mmu.c

index 7ba6af394cb5c246db6eab0ae5ee1b63d365a8b8..c5dd4d20275510ae860f014fadd6962a48d88aca 100644 (file)
@@ -270,7 +270,7 @@ out_err1:
        return NULL;
 }
 
-void psb_mmu_free_pt(struct psb_mmu_pt *pt)
+static void psb_mmu_free_pt(struct psb_mmu_pt *pt)
 {
        __free_page(pt->p);
        kfree(pt);
@@ -351,7 +351,7 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd)
        return pt;
 }
 
-struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,
+static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd,
                                             unsigned long addr)
 {
        uint32_t index = psb_mmu_pd_index(addr);