diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-11-23 23:05:53 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-11-23 23:05:53 +0000 |
commit | 4fd8dcc86a3d8fde52f7b1fbb3700ff74205ee30 (patch) | |
tree | b297a85e8562d712df9a975c698af768a1b92545 /sys/dev/pci/drm/i915_dma.c | |
parent | a52d9c448e05253d8fc46eec1b2b2c80f0a7223a (diff) |
some whitespace cleanups.
there's more in here that needs doing though.
Diffstat (limited to 'sys/dev/pci/drm/i915_dma.c')
-rw-r--r-- | sys/dev/pci/drm/i915_dma.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c index 5e113abb926..20876a2c2ea 100644 --- a/sys/dev/pci/drm/i915_dma.c +++ b/sys/dev/pci/drm/i915_dma.c @@ -59,7 +59,8 @@ i915_init_phys_hws(drm_i915_private_t *dev_priv, bus_dma_tag_t dmat) * Frees the hardware status page, whether it's a physical address of a virtual * address set up by the X Server. */ -void i915_free_hws(drm_i915_private_t *dev_priv, bus_dma_tag_t dmat) +void +i915_free_hws(drm_i915_private_t *dev_priv, bus_dma_tag_t dmat) { if (dev_priv->hws_dmamem) { drm_dmamem_free(dmat, dev_priv->hws_dmamem); @@ -77,7 +78,8 @@ void i915_free_hws(drm_i915_private_t *dev_priv, bus_dma_tag_t dmat) dev_priv->hw_status_page = NULL; } -int i915_dma_cleanup(struct drm_device *dev) +int +i915_dma_cleanup(struct drm_device *dev) { drm_i915_private_t *dev_priv = dev->dev_private; @@ -629,4 +631,3 @@ int i915_set_status_page(struct drm_device *dev, void *data, DRM_DEBUG("load hws at %p\n", dev_priv->hw_status_page); return 0; } - |