diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-04 21:50:58 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:09:38 -0500 |
commit | bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8 (patch) | |
tree | 8fa2f5194bb05d7e789e5d24a0fe3a7456568146 /drivers/char/drm/drm_bufs.c | |
parent | 8562b3f25d6e23c9d9e48a32672944d1e8a2aa97 (diff) |
drm: run cleanfile across drm tree
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r-- | drivers/char/drm/drm_bufs.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index d24a6c2c2c24..d65e75d405fa 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c | |||
@@ -184,7 +184,7 @@ static int drm_addmap_core(struct drm_device * dev, unsigned int offset, | |||
184 | return -ENOMEM; | 184 | return -ENOMEM; |
185 | } | 185 | } |
186 | } | 186 | } |
187 | 187 | ||
188 | break; | 188 | break; |
189 | case _DRM_SHM: | 189 | case _DRM_SHM: |
190 | list = drm_find_matching_map(dev, map); | 190 | list = drm_find_matching_map(dev, map); |
@@ -814,9 +814,9 @@ int drm_addbufs_pci(struct drm_device * dev, struct drm_buf_desc * request) | |||
814 | page_count = 0; | 814 | page_count = 0; |
815 | 815 | ||
816 | while (entry->buf_count < count) { | 816 | while (entry->buf_count < count) { |
817 | 817 | ||
818 | dmah = drm_pci_alloc(dev, PAGE_SIZE << page_order, 0x1000, 0xfffffffful); | 818 | dmah = drm_pci_alloc(dev, PAGE_SIZE << page_order, 0x1000, 0xfffffffful); |
819 | 819 | ||
820 | if (!dmah) { | 820 | if (!dmah) { |
821 | /* Set count correctly so we free the proper amount. */ | 821 | /* Set count correctly so we free the proper amount. */ |
822 | entry->buf_count = count; | 822 | entry->buf_count = count; |
@@ -1592,5 +1592,3 @@ int drm_order(unsigned long size) | |||
1592 | return order; | 1592 | return order; |
1593 | } | 1593 | } |
1594 | EXPORT_SYMBOL(drm_order); | 1594 | EXPORT_SYMBOL(drm_order); |
1595 | |||
1596 | |||