diff options
Diffstat (limited to 'linux/bufs.c')
-rw-r--r-- | linux/bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/bufs.c b/linux/bufs.c index fd3b1248..c00f051a 100644 --- a/linux/bufs.c +++ b/linux/bufs.c @@ -106,7 +106,7 @@ int drm_addmap(struct inode *inode, struct file *filp, unsigned int cmd, dev->lock.hw_lock = map->handle; /* Pointer to lock */ } break; -#ifdef DRM_AGP +#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) case _DRM_AGP: map->offset = map->offset + dev->agp->base; break; |