summaryrefslogtreecommitdiff
path: root/linux/mga_warp.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/mga_warp.c')
-rw-r--r--linux/mga_warp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/mga_warp.c b/linux/mga_warp.c
index 5994ab0c..436e24f5 100644
--- a/linux/mga_warp.c
+++ b/linux/mga_warp.c
@@ -160,9 +160,8 @@ static int mga_warp_install_g200_microcode( drm_mga_private_t *dev_priv )
return 0;
}
-int mga_warp_install_microcode( drm_device_t *dev )
+int mga_warp_install_microcode( drm_mga_private_t *dev_priv )
{
- drm_mga_private_t *dev_priv = dev->dev_private;
DRM_DEBUG( "%s\n", __FUNCTION__ );
switch ( dev_priv->chipset ) {
@@ -177,9 +176,8 @@ int mga_warp_install_microcode( drm_device_t *dev )
#define WMISC_EXPECTED (MGA_WUCODECACHE_ENABLE | MGA_WMASTER_ENABLE)
-int mga_warp_init( drm_device_t *dev )
+int mga_warp_init( drm_mga_private_t *dev_priv )
{
- drm_mga_private_t *dev_priv = dev->dev_private;
u32 wmisc;
DRM_DEBUG( "%s\n", __FUNCTION__ );