diff options
author | Rashika <rashika.kheria@gmail.com> | 2014-01-06 18:28:28 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-01-14 06:53:41 +0400 |
commit | 8eed55be964c091449258d8f8ae1e109070f376a (patch) | |
tree | f88161df99862c9a977fdd0ad76ed86e77c70794 /scripts/Makefile.modpost | |
parent | c85dd51c38f91f983edeedadd38c87d873d54a97 (diff) | |
download | linux-8eed55be964c091449258d8f8ae1e109070f376a.tar.xz |
drivers: gpu: Include appropriate header file in drm_usb.c
Include appropriate header file include/drm/drm_usb.h in drm/drm_usb.c
because functions drm_get_usb_dev(), drm_usb_init() and drm_usb_exit()
have their prototype declarations in the header file.
This eliminates the following warning in drm/drm_usb.c:
drivers/gpu/drm/drm_usb.c:5:5: warning: no previous prototype for
‘drm_get_usb_dev’ [-Wmissing-prototypes]
drivers/gpu/drm/drm_usb.c:61:5: warning: no previous prototype for
‘drm_usb_init’ [-Wmissing-prototypes]
drivers/gpu/drm/drm_usb.c:75:6: warning: no previous prototype for
‘drm_usb_exit’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions