summaryrefslogtreecommitdiff
path: root/linux/drm_stub.h
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2002-08-06 18:00:57 +0000
committerRik Faith <faith@alephnull.com>2002-08-06 18:00:57 +0000
commit977b420d5dc66db3d4335132861a1eff3747b49a (patch)
treed4ee3c06fccda33c2be176a152714bc72c2160ab /linux/drm_stub.h
parent881a9b214d033a1e153f61996645bdaa37eb87d8 (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_stub.h')
-rw-r--r--linux/drm_stub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drm_stub.h b/linux/drm_stub.h
index b1e78923..3c9c69eb 100644
--- a/linux/drm_stub.h
+++ b/linux/drm_stub.h
@@ -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,