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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=06a8c6509a3f9028df1cf8caed9dcc5c5d4b34a6;p=linux-beck.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;