]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Include appropriate header file in mga_ioc32.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:03:56 +0000 (20:33 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:24 +0000 (12:59 +1000)
commit1800800075d9f9ea024a2e990201699acf535a2a
treeb0d5db19d2d19072aabc20693c81fc334cef3c4c
parenta24165e350c93ebc82b75132d3369dc5f481b2d3
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mga/mga_ioc32.c