aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/pvr/mm.c')
-rw-r--r--drivers/gpu/pvr/mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/mm.c b/drivers/gpu/pvr/mm.c
index 5053a45..ecad206 100644
--- a/drivers/gpu/pvr/mm.c
+++ b/drivers/gpu/pvr/mm.c
@@ -56,9 +56,11 @@
#include <linux/highmem.h>
#include <linux/sched.h>
+#if defined(PVR_LINUX_MEM_AREA_POOL_ALLOW_SHRINK)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
#include <linux/shrinker.h>
#endif
+#endif
#include "img_defs.h"
#include "services.h"