diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 15:15:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 15:15:50 -0400 |
commit | c2dc1ad582196208a2f990eb0230eb922046c684 (patch) | |
tree | f2c7d03a9f8007af0a43111423dbf96ccef77db4 /drivers/char/drm/mga_irq.c | |
parent | 5b37696fda07b8acf37beba3853f83106397ccdf (diff) | |
parent | ff4135aeb1f9a0201f8e22400ebc1d570df9016e (diff) |
Merge branch 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
drm: remove core typedefs from the ioc32 wrappers
drm: remove sarea typedefs
drm: detypedef the hashtab and more of sman
drm: de-typedef sman
drm: detypedeffing continues...
drm: detypef waitlist/freelist/buf_entry/device_dma/drm_queue structs
drm: drop drm_vma_entry_t, drm_magic_entry_t
drm: drop drm_buf_t typedef
drm: fixup other drivers for typedef removals
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
drm: remove a bunch of typedefs on the userspace interface
r300: updates register header
radeon: add support for vblank on crtc2
drm: cleanup list initialisation
drm: fix typo on code drm getsarea
drm: remove DRM_GETSAREA and replace with drm_getsarea function
drm: cleanup use of Linux list handling macros
Diffstat (limited to 'drivers/char/drm/mga_irq.c')
-rw-r--r-- | drivers/char/drm/mga_irq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/drm/mga_irq.c b/drivers/char/drm/mga_irq.c index eb9644024172..9302cb8f0f83 100644 --- a/drivers/char/drm/mga_irq.c +++ b/drivers/char/drm/mga_irq.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | irqreturn_t mga_driver_irq_handler(DRM_IRQ_ARGS) | 38 | irqreturn_t mga_driver_irq_handler(DRM_IRQ_ARGS) |
39 | { | 39 | { |
40 | drm_device_t *dev = (drm_device_t *) arg; | 40 | struct drm_device *dev = (struct drm_device *) arg; |
41 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 41 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
42 | int status; | 42 | int status; |
43 | int handled = 0; | 43 | int handled = 0; |
@@ -78,7 +78,7 @@ irqreturn_t mga_driver_irq_handler(DRM_IRQ_ARGS) | |||
78 | return IRQ_NONE; | 78 | return IRQ_NONE; |
79 | } | 79 | } |
80 | 80 | ||
81 | int mga_driver_vblank_wait(drm_device_t * dev, unsigned int *sequence) | 81 | int mga_driver_vblank_wait(struct drm_device * dev, unsigned int *sequence) |
82 | { | 82 | { |
83 | unsigned int cur_vblank; | 83 | unsigned int cur_vblank; |
84 | int ret = 0; | 84 | int ret = 0; |
@@ -96,7 +96,7 @@ int mga_driver_vblank_wait(drm_device_t * dev, unsigned int *sequence) | |||
96 | return ret; | 96 | return ret; |
97 | } | 97 | } |
98 | 98 | ||
99 | int mga_driver_fence_wait(drm_device_t * dev, unsigned int *sequence) | 99 | int mga_driver_fence_wait(struct drm_device * dev, unsigned int *sequence) |
100 | { | 100 | { |
101 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 101 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
102 | unsigned int cur_fence; | 102 | unsigned int cur_fence; |
@@ -115,7 +115,7 @@ int mga_driver_fence_wait(drm_device_t * dev, unsigned int *sequence) | |||
115 | return ret; | 115 | return ret; |
116 | } | 116 | } |
117 | 117 | ||
118 | void mga_driver_irq_preinstall(drm_device_t * dev) | 118 | void mga_driver_irq_preinstall(struct drm_device * dev) |
119 | { | 119 | { |
120 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 120 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
121 | 121 | ||
@@ -125,7 +125,7 @@ void mga_driver_irq_preinstall(drm_device_t * dev) | |||
125 | MGA_WRITE(MGA_ICLEAR, ~0); | 125 | MGA_WRITE(MGA_ICLEAR, ~0); |
126 | } | 126 | } |
127 | 127 | ||
128 | void mga_driver_irq_postinstall(drm_device_t * dev) | 128 | void mga_driver_irq_postinstall(struct drm_device * dev) |
129 | { | 129 | { |
130 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 130 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
131 | 131 | ||
@@ -135,7 +135,7 @@ void mga_driver_irq_postinstall(drm_device_t * dev) | |||
135 | MGA_WRITE(MGA_IEN, MGA_VLINEIEN | MGA_SOFTRAPEN); | 135 | MGA_WRITE(MGA_IEN, MGA_VLINEIEN | MGA_SOFTRAPEN); |
136 | } | 136 | } |
137 | 137 | ||
138 | void mga_driver_irq_uninstall(drm_device_t * dev) | 138 | void mga_driver_irq_uninstall(struct drm_device * dev) |
139 | { | 139 | { |
140 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; | 140 | drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; |
141 | if (!dev_priv) | 141 | if (!dev_priv) |