]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: gpu: Include appropriate header file in drm_usb.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 14:28:28 +0000 (19:58 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:53:41 +0000 (12:53 +1000)
commitd28c528583b404fabf87944db1e7bdffa6af9eb4
treef88161df99862c9a977fdd0ad76ed86e77c70794
parentec441c1047c31e33c238e0a8fa616c9fea0831ae
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>
drivers/gpu/drm/drm_usb.c