]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Include appropriate header file in r128_ioc32.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:20:38 +0000 (20:50 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 03:05:37 +0000 (13:05 +1000)
commit5bd252b18e95808655326cc6706cd9702e8b6a77
tree1779996ee888f062017de8645b48b14f300bbb35
parent65d294957ba8c3f07cad2e13b5c03e7c121870a0
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/r128/r128_ioc32.c