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-core/drm_stub.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-core/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index b1e78923..3c9c69eb 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -66,8 +66,8 @@ static int DRM(stub_open)(struct inode *inode, struct file *filp) } static struct file_operations DRM(stub_fops) = { - owner: THIS_MODULE, - open: DRM(stub_open) + .owner = THIS_MODULE, + .open = DRM(stub_open) }; static int DRM(stub_getminor)(const char *name, struct file_operations *fops, |