diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-01-06 20:53:07 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 11:45:36 -0500 |
commit | 5520345fb91412fba48e4b7f5514c19f6234d963 (patch) | |
tree | c3215fa642814e576f6fdfce8e507b518a668b67 /drivers/gpu/drm/radeon/radeon_kms.c | |
parent | 28f5a6cd938c0b4f53f953318675c063158d1c27 (diff) | |
download | op-kernel-dev-5520345fb91412fba48e4b7f5514c19f6234d963.zip op-kernel-dev-5520345fb91412fba48e4b7f5514c19f6234d963.tar.gz |
drivers: gpu: Mark function as static in radeon_kms.c
Mark function radeon_info_ioctl() as static in drm/radeon/radeon_kms.c
because it is not used outside this file.
This eliminates the following warning in drm/radeon/radeon_kms.c:
drivers/gpu/drm/radeon/radeon_kms.c:194:5: warning: no previous prototype for ‘radeon_info_ioctl’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index daa28b6..ef6d75b 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -191,7 +191,7 @@ static void radeon_set_filp_rights(struct drm_device *dev, * etc. (all asics). * Returns 0 on success, -EINVAL on failure. */ -int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) +static int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) { struct radeon_device *rdev = dev->dev_private; struct drm_radeon_info *info = data; |