diff options
Diffstat (limited to 'drivers/char/drm/mga_state.c')
-rw-r--r-- | drivers/char/drm/mga_state.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/drm/mga_state.c b/drivers/char/drm/mga_state.c index 6d5ab9ff69c7..62f7acac2f59 100644 --- a/drivers/char/drm/mga_state.c +++ b/drivers/char/drm/mga_state.c | |||
@@ -622,7 +622,7 @@ static void mga_dma_dispatch_swap(struct drm_device * dev) | |||
622 | DRM_DEBUG("%s... done.\n", __FUNCTION__); | 622 | DRM_DEBUG("%s... done.\n", __FUNCTION__); |
623 | } | 623 | } |
624 | 624 | ||
625 | static void mga_dma_dispatch_vertex(struct drm_device * dev, drm_buf_t * buf) | 625 | static void mga_dma_dispatch_vertex(struct drm_device * dev, struct drm_buf * buf) |
626 | { | 626 | { |
627 | drm_mga_private_t *dev_priv = dev->dev_private; | 627 | drm_mga_private_t *dev_priv = dev->dev_private; |
628 | drm_mga_buf_priv_t *buf_priv = buf->dev_private; | 628 | drm_mga_buf_priv_t *buf_priv = buf->dev_private; |
@@ -669,7 +669,7 @@ static void mga_dma_dispatch_vertex(struct drm_device * dev, drm_buf_t * buf) | |||
669 | FLUSH_DMA(); | 669 | FLUSH_DMA(); |
670 | } | 670 | } |
671 | 671 | ||
672 | static void mga_dma_dispatch_indices(struct drm_device * dev, drm_buf_t * buf, | 672 | static void mga_dma_dispatch_indices(struct drm_device * dev, struct drm_buf * buf, |
673 | unsigned int start, unsigned int end) | 673 | unsigned int start, unsigned int end) |
674 | { | 674 | { |
675 | drm_mga_private_t *dev_priv = dev->dev_private; | 675 | drm_mga_private_t *dev_priv = dev->dev_private; |
@@ -718,7 +718,7 @@ static void mga_dma_dispatch_indices(struct drm_device * dev, drm_buf_t * buf, | |||
718 | /* This copies a 64 byte aligned agp region to the frambuffer with a | 718 | /* This copies a 64 byte aligned agp region to the frambuffer with a |
719 | * standard blit, the ioctl needs to do checking. | 719 | * standard blit, the ioctl needs to do checking. |
720 | */ | 720 | */ |
721 | static void mga_dma_dispatch_iload(struct drm_device * dev, drm_buf_t * buf, | 721 | static void mga_dma_dispatch_iload(struct drm_device * dev, struct drm_buf * buf, |
722 | unsigned int dstorg, unsigned int length) | 722 | unsigned int dstorg, unsigned int length) |
723 | { | 723 | { |
724 | drm_mga_private_t *dev_priv = dev->dev_private; | 724 | drm_mga_private_t *dev_priv = dev->dev_private; |
@@ -881,7 +881,7 @@ static int mga_dma_vertex(DRM_IOCTL_ARGS) | |||
881 | DRM_DEVICE; | 881 | DRM_DEVICE; |
882 | drm_mga_private_t *dev_priv = dev->dev_private; | 882 | drm_mga_private_t *dev_priv = dev->dev_private; |
883 | drm_device_dma_t *dma = dev->dma; | 883 | drm_device_dma_t *dma = dev->dma; |
884 | drm_buf_t *buf; | 884 | struct drm_buf *buf; |
885 | drm_mga_buf_priv_t *buf_priv; | 885 | drm_mga_buf_priv_t *buf_priv; |
886 | drm_mga_vertex_t vertex; | 886 | drm_mga_vertex_t vertex; |
887 | 887 | ||
@@ -921,7 +921,7 @@ static int mga_dma_indices(DRM_IOCTL_ARGS) | |||
921 | DRM_DEVICE; | 921 | DRM_DEVICE; |
922 | drm_mga_private_t *dev_priv = dev->dev_private; | 922 | drm_mga_private_t *dev_priv = dev->dev_private; |
923 | drm_device_dma_t *dma = dev->dma; | 923 | drm_device_dma_t *dma = dev->dma; |
924 | drm_buf_t *buf; | 924 | struct drm_buf *buf; |
925 | drm_mga_buf_priv_t *buf_priv; | 925 | drm_mga_buf_priv_t *buf_priv; |
926 | drm_mga_indices_t indices; | 926 | drm_mga_indices_t indices; |
927 | 927 | ||
@@ -961,7 +961,7 @@ static int mga_dma_iload(DRM_IOCTL_ARGS) | |||
961 | DRM_DEVICE; | 961 | DRM_DEVICE; |
962 | drm_device_dma_t *dma = dev->dma; | 962 | drm_device_dma_t *dma = dev->dma; |
963 | drm_mga_private_t *dev_priv = dev->dev_private; | 963 | drm_mga_private_t *dev_priv = dev->dev_private; |
964 | drm_buf_t *buf; | 964 | struct drm_buf *buf; |
965 | drm_mga_buf_priv_t *buf_priv; | 965 | drm_mga_buf_priv_t *buf_priv; |
966 | drm_mga_iload_t iload; | 966 | drm_mga_iload_t iload; |
967 | DRM_DEBUG("\n"); | 967 | DRM_DEBUG("\n"); |