aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/gtt.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2012-03-08 11:03:55 -0500
committerDave Airlie <airlied@redhat.com>2012-03-10 08:05:59 -0500
commitffe94d9c754ebdc1462d58755da48dc75c3d2920 (patch)
tree7916e4c0561667ba0e208673f38562991f254fc6 /drivers/gpu/drm/gma500/gtt.c
parentbc7f2b0839fc0b867a9877d8640e07b9b9813875 (diff)
gma500: gtt: mark psb_gtt_entry() and psb_gtt_alloc() as static
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>
Diffstat (limited to 'drivers/gpu/drm/gma500/gtt.c')
-rw-r--r--drivers/gpu/drm/gma500/gtt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/gtt.c b/drivers/gpu/drm/gma500/gtt.c
index 5d5330f667f1..574bc9794a0e 100644
--- a/drivers/gpu/drm/gma500/gtt.c
+++ b/drivers/gpu/drm/gma500/gtt.c
@@ -57,7 +57,7 @@ static inline uint32_t psb_gtt_mask_pte(uint32_t pfn, int type)
57 * Given a gtt_range object return the GTT offset of the page table 57 * Given a gtt_range object return the GTT offset of the page table
58 * entries for this gtt_range 58 * entries for this gtt_range
59 */ 59 */
60u32 *psb_gtt_entry(struct drm_device *dev, struct gtt_range *r) 60static u32 *psb_gtt_entry(struct drm_device *dev, struct gtt_range *r)
61{ 61{
62 struct drm_psb_private *dev_priv = dev->dev_private; 62 struct drm_psb_private *dev_priv = dev->dev_private;
63 unsigned long offset; 63 unsigned long offset;
@@ -378,7 +378,7 @@ void psb_gtt_free_range(struct drm_device *dev, struct gtt_range *gt)
378 kfree(gt); 378 kfree(gt);
379} 379}
380 380
381void psb_gtt_alloc(struct drm_device *dev) 381static void psb_gtt_alloc(struct drm_device *dev)
382{ 382{
383 struct drm_psb_private *dev_priv = dev->dev_private; 383 struct drm_psb_private *dev_priv = dev->dev_private;
384 init_rwsem(&dev_priv->gtt.sem); 384 init_rwsem(&dev_priv->gtt.sem);