From 62b55eb433a211c565367b8ae717666e0acaf8fe Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 29 Jun 2005 11:56:42 +0000 Subject: make r128/mga compile properly on sparc cross-compiler --- linux-core/mga_ioc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/mga_ioc32.c') diff --git a/linux-core/mga_ioc32.c b/linux-core/mga_ioc32.c index f5be4a5e..390bb2e6 100644 --- a/linux-core/mga_ioc32.c +++ b/linux-core/mga_ioc32.c @@ -130,7 +130,7 @@ static int compat_mga_getparam(struct file *file, unsigned int cmd, } drm_ioctl_compat_t *mga_compat_ioctls[] = { - [DRM_MGA_DMA_INIT] = compat_mga_init, + [DRM_MGA_INIT] = compat_mga_init, [DRM_MGA_GETPARAM] = compat_mga_getparam, }; -- cgit v1.2.3