diff options
author | Rik Faith <faith@alephnull.com> | 2002-08-06 18:00:57 +0000 |
---|---|---|
committer | Rik Faith <faith@alephnull.com> | 2002-08-06 18:00:57 +0000 |
commit | 977b420d5dc66db3d4335132861a1eff3747b49a (patch) | |
tree | d4ee3c06fccda33c2be176a152714bc72c2160ab /linux/i810_dma.c | |
parent | 881a9b214d033a1e153f61996645bdaa37eb87d8 (diff) |
Updates from Rusty Russell to:
1) Remove redundant header inclusion
2) Silence bitop on non-long argument warnings (change int to long)
3) Move to ISO C (gcc 2.6) initializers (accepted by older gccs also) All
of these are syntax changes that should not impact functionality.
Diffstat (limited to 'linux/i810_dma.c')
-rw-r--r-- | linux/i810_dma.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linux/i810_dma.c b/linux/i810_dma.c index a2899b5f3..a0ab1430f 100644 --- a/linux/i810_dma.c +++ b/linux/i810_dma.c @@ -129,14 +129,14 @@ static int i810_freelist_put(drm_device_t *dev, drm_buf_t *buf) } static struct file_operations i810_buffer_fops = { - open: DRM(open), - flush: DRM(flush), - release: DRM(release), - ioctl: DRM(ioctl), - mmap: i810_mmap_buffers, - read: DRM(read), - fasync: DRM(fasync), - poll: DRM(poll), + .open = DRM(open), + .flush = DRM(flush), + .release = DRM(release), + .ioctl = DRM(ioctl), + .mmap = i810_mmap_buffers, + .read = DRM(read), + .fasync = DRM(fasync), + .poll = DRM(poll), }; int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) |