aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2014-01-06 10:03:56 -0500
committerDave Airlie <airlied@redhat.com>2014-01-13 21:59:24 -0500
commit06a8c6509a3f9028df1cf8caed9dcc5c5d4b34a6 (patch)
treeb0d5db19d2d19072aabc20693c81fc334cef3c4c /drivers
parentf242a64b4fec50167384ba9181398121fcafb489 (diff)
drivers: gpu: Include appropriate header file in mga_ioc32.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/mga/mga_ioc32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mga/mga_ioc32.c b/drivers/gpu/drm/mga/mga_ioc32.c
index 709e90db8c40..86b4bb804852 100644
--- a/drivers/gpu/drm/mga/mga_ioc32.c
+++ b/drivers/gpu/drm/mga/mga_ioc32.c
@@ -34,6 +34,7 @@
34 34
35#include <drm/drmP.h> 35#include <drm/drmP.h>
36#include <drm/mga_drm.h> 36#include <drm/mga_drm.h>
37#include "mga_drv.h"
37 38
38typedef struct drm32_mga_init { 39typedef struct drm32_mga_init {
39 int func; 40 int func;