From: Rashika Date: Mon, 6 Jan 2014 15:03:56 +0000 (+0530) Subject: drivers: gpu: Include appropriate header file in mga_ioc32.c X-Git-Tag: MMI-PSA29.97-13-9~12830^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06a8c6509a3f9028df1cf8caed9dcc5c5d4b34a6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Reviewed-by: Josh Triplett Signed-off-by: Dave Airlie --- 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 @@ #include #include +#include "mga_drv.h" typedef struct drm32_mga_init { int func;