aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2014-01-06 10:20:38 -0500
committerDave Airlie <airlied@redhat.com>2014-01-13 22:05:37 -0500
commit1302b23f888de68906d062028233b9397984a927 (patch)
tree1779996ee888f062017de8645b48b14f300bbb35
parent1e164bb87d20a112106eb663514aa0644e051a80 (diff)
drivers: gpu: Include appropriate header file in r128_ioc32.c
Include appropriate header file drm/r128/r128_drv.h in drm/r128/r128_ioc32.c because function r128_compat_ioctl() has its prototype declaration in the header file. This eliminates the following warning in drm/r128/r128_ioc32.c: drivers/gpu/drm/r128/r128_ioc32.c:196:6: warning: no previous prototype for ‘r128_compat_ioctl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/r128/r128_ioc32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c
index a954c548201e..b0d0fd3e4376 100644
--- a/drivers/gpu/drm/r128/r128_ioc32.c
+++ b/drivers/gpu/drm/r128/r128_ioc32.c
@@ -33,6 +33,7 @@
33 33
34#include <drm/drmP.h> 34#include <drm/drmP.h>
35#include <drm/r128_drm.h> 35#include <drm/r128_drm.h>
36#include "r128_drv.h"
36 37
37typedef struct drm_r128_init32 { 38typedef struct drm_r128_init32 {
38 int func; 39 int func;