summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-03-02 23:14:45 +0200
committerPekka Paalanen <pq@iki.fi>2009-03-02 23:14:45 +0200
commitf44c740dc7a05d651df7604baad8f667836d1b09 (patch)
tree88fa99c36e8c4a6d922b982a8e51093a034c7f47 /shared-core
parent081b2d6da22e08e1448285d647a35b17905512cf (diff)
drm: drop Linux < 2.6.19 support
This also means dropping the DRM_ODD_MM_COMPAT case. Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c
index 74636dc2..991e7d40 100644
--- a/shared-core/nouveau_mem.c
+++ b/shared-core/nouveau_mem.c
@@ -235,7 +235,7 @@ void nouveau_mem_close(struct drm_device *dev)
static uint32_t
nouveau_mem_fb_amount_igp(struct drm_device *dev)
{
-#if defined(__linux__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19))
+#if defined(__linux__)
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct pci_dev *bridge;
uint32_t mem;