diff options
| author | 2014-01-06 19:58:28 +0530 | |
|---|---|---|
| committer | 2014-01-14 12:53:41 +1000 | |
| commit | 8eed55be964c091449258d8f8ae1e109070f376a (patch) | |
| tree | f88161df99862c9a977fdd0ad76ed86e77c70794 /drivers/gpu/drm/ast/ast_main.c | |
| parent | drm/gma500: Remove unused function declaration (diff) | |
| download | linux-dev-8eed55be964c091449258d8f8ae1e109070f376a.tar.xz linux-dev-8eed55be964c091449258d8f8ae1e109070f376a.zip | |
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 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions
