From patchwork Mon Jan 6 14:28:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3438631 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7A5DBC02DC for ; Mon, 6 Jan 2014 14:45:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E13A92016D for ; Mon, 6 Jan 2014 14:45:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C75FD2017A for ; Mon, 6 Jan 2014 14:45:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94BAF105F76 for ; Mon, 6 Jan 2014 06:45:32 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by gabe.freedesktop.org (Postfix) with ESMTP id C4B60105EE7 for ; Mon, 6 Jan 2014 06:28:34 -0800 (PST) Received: by mail-pb0-f43.google.com with SMTP id rq2so18524767pbb.16 for ; Mon, 06 Jan 2014 06:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=AAUciC84d+U+tQVhqKnvKpAPc5TPt3ChKmMBuT2nuA8=; b=PRKefy94/z/Ez91RkKH46XeGzHi+q6sqYU+Fe3YMN0zbt3zLEkcvdX7dFm7eiPa+uI mC1zJoe+U4STEvKfPDMWrTEe1F27wGJeFuWTuV31G9Iei6H+p1J1sL0BunWUzyExo48T TngGnsFIQcyMoaNWgtDyOzGrOwcvi90XN8m7mN07quQK3Bw8iJF0wGVOxpU06KNTfia9 wdHX0I80wVRYaJG5SayeWY1Z7carGrQyuzGSdHUG8JDwCnwxQEaT8w9gUsZi4hpph9DY BeAUQxqO2up3wfCXOFs+Zn85dNW1SUfYzOz6Ea1PLi5tHfYjeWrtXEPLPY4HjPlS5Z7K oznQ== X-Received: by 10.68.244.103 with SMTP id xf7mr81325691pbc.50.1389018513532; Mon, 06 Jan 2014 06:28:33 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id fm1sm31377878pab.22.2014.01.06.06.28.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 06:28:32 -0800 (PST) Date: Mon, 6 Jan 2014 19:58:28 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Subject: [PATCH 01/85] drivers: gpu: Include appropriate header file in drm_usb.c Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 06 Jan 2014 06:45:17 -0800 Cc: josh@joshtriplett.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Josh Triplett Acked-by: Maarten Lankhorst --- drivers/gpu/drm/drm_usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index b179b70..7b8068b 100644 --- a/drivers/gpu/drm/drm_usb.c +++ b/drivers/gpu/drm/drm_usb.c @@ -1,4 +1,5 @@ #include +#include #include #include