summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-02-18 23:21:26 +0100
committerDave Airlie <airlied@redhat.com>2014-02-18 23:21:26 +0100
commit75936c65dda54a08d9124f24f8725f86a4adc286 (patch)
tree39e1a39f984bf450ee37a1ded6113d0b998b3a6d /include
parentMerge tag 'vmwgfx-fixes-3.14-2014-02-18' of git://people.freedesktop.org/~tho... (diff)
parentdrm/ttm: Fix memory leak in ttm_agp_backend.c (diff)
downloadlinux-75936c65dda54a08d9124f24f8725f86a4adc286.tar.xz
linux-75936c65dda54a08d9124f24f8725f86a4adc286.zip
Merge tag 'ttm-fixes-3.14-2014-02-18' of git://people.freedesktop.org/~thomash/linux into drm-fixes
Pull request of 2014-02-18 One compile fix and one memory leak. * tag 'ttm-fixes-3.14-2014-02-18' of git://people.freedesktop.org/~thomash/linux: drm/ttm: Fix memory leak in ttm_agp_backend.c drm/ttm: declare 'struct device' in ttm_page_alloc.h
Diffstat (limited to 'include')
-rw-r--r--include/drm/ttm/ttm_page_alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h
index d1f61bfe0ebe..49a828425fa2 100644
--- a/include/drm/ttm/ttm_page_alloc.h
+++ b/include/drm/ttm/ttm_page_alloc.h
@@ -29,6 +29,8 @@
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_memory.h>
+struct device;
+
/**
* Initialize pool allocator.
*/