diff options
author | Dave Airlie <airlied@linux.ie> | 2005-06-04 06:18:11 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-06-04 06:18:11 +0000 |
commit | 805a07714f05833a1ed4e4a01f8086fafd46e849 (patch) | |
tree | 26bd7bdef728bbb46f601d8e3d9e97798f39af8e /linux-core/drm_fops.c | |
parent | 83cb1504498ad2ca327bc8341bc21ed6cdb54756 (diff) |
misc cleanup patch from Adrian Bunk
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r-- | linux-core/drm_fops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c index 27da405c..20cbf343 100644 --- a/linux-core/drm_fops.c +++ b/linux-core/drm_fops.c @@ -37,6 +37,8 @@ #include "drmP.h" #include <linux/poll.h> +static int drm_open_helper(struct inode *inode, struct file *filp, drm_device_t * dev); + static int drm_setup(drm_device_t * dev) { int i; @@ -218,7 +220,7 @@ static int drm_cpu_valid(void) * Creates and initializes a drm_file structure for the file private data in \p * filp and add it into the double linked list in \p dev. */ -int drm_open_helper(struct inode *inode, struct file *filp, drm_device_t * dev) +static int drm_open_helper(struct inode *inode, struct file *filp, drm_device_t * dev) { int minor = iminor(inode); drm_file_t *priv; |