summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/drm_memory.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2008-06-26 19:33:19 +0000
committeroga <oga@openbsd.org>2008-06-26 19:33:19 +0000
commit0bab03e974e4be0b79dffb3546f46b472c0e3b22 (patch)
tree69b6d67bd46f3eaf8b5593df80dec04363f4423c /sys/dev/pci/drm/drm_memory.c
parentKill the device_t and vm_offset_t typedefs. (diff)
downloadwireguard-openbsd-0bab03e974e4be0b79dffb3546f46b472c0e3b22.tar.xz
wireguard-openbsd-0bab03e974e4be0b79dffb3546f46b472c0e3b22.zip
Kill the silly ``drm_device_t'' and ``drm_file_t'' typedefs. just use
``struct drm_device'' and ``struct drm_file'' respectively. Since i'm changing a lot of prototypes anyway, remove all parameter names from prototypes, in accordance with style(9) (and sanity).
Diffstat (limited to 'sys/dev/pci/drm/drm_memory.c')
-rw-r--r--sys/dev/pci/drm/drm_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_memory.c b/sys/dev/pci/drm/drm_memory.c
index 8562b83068e..c727da1202b 100644
--- a/sys/dev/pci/drm/drm_memory.c
+++ b/sys/dev/pci/drm/drm_memory.c
@@ -83,7 +83,7 @@ drm_free(void *pt, size_t size, int area)
}
void *
-drm_ioremap(drm_device_t *dev, drm_local_map_t *map)
+drm_ioremap(struct drm_device *dev, drm_local_map_t *map)
{
struct vga_pci_bar *bar = NULL;
int i;