diff options
author | 2009-11-23 23:05:52 +0000 | |
---|---|---|
committer | 2009-11-23 23:05:52 +0000 | |
commit | 76e490663a23f1f1d9e8eaccbbca77b6cd6264c3 (patch) | |
tree | 45f97920071a092a6f9e4b472cc062ecefb21196 | |
parent | move the lastclose function into i915_drv.c where it belongs. (diff) | |
download | wireguard-openbsd-76e490663a23f1f1d9e8eaccbbca77b6cd6264c3.tar.xz wireguard-openbsd-76e490663a23f1f1d9e8eaccbbca77b6cd6264c3.zip |
some whitespace cleanups.
there's more in here that needs doing though.
-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; } - |