aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/drm_pci.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-27 14:12:51 -0700
committerEric Anholt <eric@anholt.net>2008-05-27 14:25:08 -0700
commitad8eb0ed01d96cc16cdafd3b48c0f0cd73d315b4 (patch)
treeffdb89715ad81040eb38613d16a835c0741947b2 /bsd-core/drm_pci.c
parent49075b678fad6c3a5cadd1af67a37332b9255ace (diff)
[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.
Diffstat (limited to 'bsd-core/drm_pci.c')
-rw-r--r--bsd-core/drm_pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsd-core/drm_pci.c b/bsd-core/drm_pci.c
index 6ec6b983..6b411abb 100644
--- a/bsd-core/drm_pci.c
+++ b/bsd-core/drm_pci.c
@@ -53,7 +53,8 @@ drm_pci_busdma_callback(void *arg, bus_dma_segment_t *segs, int nsegs, int error
* memory block.
*/
drm_dma_handle_t *
-drm_pci_alloc(drm_device_t *dev, size_t size, size_t align, dma_addr_t maxaddr)
+drm_pci_alloc(struct drm_device *dev, size_t size,
+ size_t align, dma_addr_t maxaddr)
{
drm_dma_handle_t *dmah;
int ret;
@@ -123,7 +124,7 @@ drm_pci_alloc(drm_device_t *dev, size_t size, size_t align, dma_addr_t maxaddr)
* \brief Free a DMA-accessible consistent memory block.
*/
void
-drm_pci_free(drm_device_t *dev, drm_dma_handle_t *dmah)
+drm_pci_free(struct drm_device *dev, drm_dma_handle_t *dmah)
{
if (dmah == NULL)
return;