diff options
author | Gareth Hughes <gareth@users.sourceforge.net> | 2001-03-06 02:25:22 +0000 |
---|---|---|
committer | Gareth Hughes <gareth@users.sourceforge.net> | 2001-03-06 02:25:22 +0000 |
commit | bd55d08867037d04391eefe9b5f347cd99a8d0f3 (patch) | |
tree | f46570307f88c4967a2ff0baf39099fde5ad4f0c /linux/mga_warp.c | |
parent | 91767f33a8ab458e84ac178e2ff322ceed7b75a3 (diff) |
Revert changes.tdfx-3-1-0-20010306
Diffstat (limited to 'linux/mga_warp.c')
-rw-r--r-- | linux/mga_warp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/mga_warp.c b/linux/mga_warp.c index 436e24f5..5994ab0c 100644 --- a/linux/mga_warp.c +++ b/linux/mga_warp.c @@ -160,8 +160,9 @@ static int mga_warp_install_g200_microcode( drm_mga_private_t *dev_priv ) return 0; } -int mga_warp_install_microcode( drm_mga_private_t *dev_priv ) +int mga_warp_install_microcode( drm_device_t *dev ) { + drm_mga_private_t *dev_priv = dev->dev_private; DRM_DEBUG( "%s\n", __FUNCTION__ ); switch ( dev_priv->chipset ) { @@ -176,8 +177,9 @@ int mga_warp_install_microcode( drm_mga_private_t *dev_priv ) #define WMISC_EXPECTED (MGA_WUCODECACHE_ENABLE | MGA_WMASTER_ENABLE) -int mga_warp_init( drm_mga_private_t *dev_priv ) +int mga_warp_init( drm_device_t *dev ) { + drm_mga_private_t *dev_priv = dev->dev_private; u32 wmisc; DRM_DEBUG( "%s\n", __FUNCTION__ ); |