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/drm_drv.h | |
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/drm_drv.h')
-rw-r--r-- | linux/drm_drv.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linux/drm_drv.h b/linux/drm_drv.h index af6858d7..81bd7894 100644 --- a/linux/drm_drv.h +++ b/linux/drm_drv.h @@ -115,15 +115,15 @@ #ifndef DRIVER_FOPS #define DRIVER_FOPS \ static struct file_operations DRM(fops) = { \ - owner: THIS_MODULE, \ - open: DRM(open), \ - flush: DRM(flush), \ - release: DRM(release), \ - ioctl: DRM(ioctl), \ - mmap: DRM(mmap), \ - read: DRM(read), \ - fasync: DRM(fasync), \ - poll: DRM(poll), \ + .owner = THIS_MODULE, \ + .open = DRM(open), \ + .flush = DRM(flush), \ + .release = DRM(release), \ + .ioctl = DRM(ioctl), \ + .mmap = DRM(mmap), \ + .read = DRM(read), \ + .fasync = DRM(fasync), \ + .poll = DRM(poll), \ } #endif |