diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2002-05-16 23:47:15 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2002-05-16 23:47:15 +0000 |
commit | 9e67da5626b683df58f2041fdb0f743eb4da7036 (patch) | |
tree | 899477e18e99e9b620e27961de58c0664b218825 /linux-core/drm_stub.c | |
parent | 3903e5ac94c07cf31f0bc24eff5011ef8cc7afba (diff) |
Allow drm to build under 2.4 and 2.5(.14)
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index ead5b959..b1e78923 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -49,7 +49,7 @@ static struct drm_stub_info { static int DRM(stub_open)(struct inode *inode, struct file *filp) { - int minor = MINOR(inode->i_rdev); + int minor = minor(inode->i_rdev); int err = -ENODEV; struct file_operations *old_fops; |