Commit 06a8c650 authored by Rashika's avatar Rashika Committed by Dave Airlie

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f242a64b
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <drm/drmP.h> #include <drm/drmP.h>
#include <drm/mga_drm.h> #include <drm/mga_drm.h>
#include "mga_drv.h"
typedef struct drm32_mga_init { typedef struct drm32_mga_init {
int func; int func;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment