From: Rashika Date: Mon, 6 Jan 2014 15:20:38 +0000 (+0530) Subject: drivers: gpu: Include appropriate header file in r128_ioc32.c X-Git-Tag: MMI-PSA29.97-13-9~12830^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1302b23f888de68906d062028233b9397984a927;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drivers: gpu: Include appropriate header file in r128_ioc32.c Include appropriate header file drm/r128/r128_drv.h in drm/r128/r128_ioc32.c because function r128_compat_ioctl() has its prototype declaration in the header file. This eliminates the following warning in drm/r128/r128_ioc32.c: drivers/gpu/drm/r128/r128_ioc32.c:196:6: warning: no previous prototype for ‘r128_compat_ioctl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c index a954c548201e..b0d0fd3e4376 100644 --- a/drivers/gpu/drm/r128/r128_ioc32.c +++ b/drivers/gpu/drm/r128/r128_ioc32.c @@ -33,6 +33,7 @@ #include #include +#include "r128_drv.h" typedef struct drm_r128_init32 { int func;