drivers: gpu: Include appropriate header file in mga_ioc32.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:03:56 +0000 (20:33 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:24 +0000 (12:59 +1000)
Include appropriate header file drivers/gpu/drm/mga/mga_drv.h in
drm/mga/mga_ioc32.c because function mga_compat_ioctl() has its
prototype declaration in the header file.

This eliminates the following warning in drm/mga/mga_ioc32.c:
drivers/gpu/drm/mga/mga_ioc32.c:207:6: warning: no previous prototype for ‘mga_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>
drivers/gpu/drm/mga/mga_ioc32.c

index 709e90db8c4087dfcb782a51deab776271a7feb0..86b4bb80485200e1067c47574117fa1c46c17b8f 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <drm/drmP.h>
 #include <drm/mga_drm.h>
+#include "mga_drv.h"
 
 typedef struct drm32_mga_init {
        int func;