Skip to content

Commit

Permalink
drivers: gpu: Include appropriate header file in r128_ioc32.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rashika authored and Dave Airlie committed Jan 14, 2014
1 parent 1e164bb commit 1302b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/r128/r128_ioc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include <drm/drmP.h>
#include <drm/r128_drm.h>
#include "r128_drv.h"

typedef struct drm_r128_init32 {
int func;
Expand Down

0 comments on commit 1302b23

Please sign in to comment.