From patchwork Mon Jan 6 15:44:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3444241 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 47D91C02DC for ; Tue, 7 Jan 2014 00:50:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8155E2016D for ; Tue, 7 Jan 2014 00:50:20 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B126D2016C for ; Tue, 7 Jan 2014 00:50:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A5AE110868C; Mon, 6 Jan 2014 16:49:29 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 102EC106196 for ; Mon, 6 Jan 2014 07:44:24 -0800 (PST) Received: by mail-pd0-f171.google.com with SMTP id z10so18210817pdj.16 for ; Mon, 06 Jan 2014 07:44:24 -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:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=MxYG7pMQMLMEHvjlX8L+xwyUh8ZO2M8VcvA5QpEzznk=; b=XMhJn85yRMGyCDom3EfODcZP+1lYiQFRZ7I3heTdwB9R/bHVU5vPvSAGzdNpShIo6z V/CelftC5ATPNSQLj69Nf3rSzT0BHPy5ehBlmbjc5MoVkZsuz4KUs+a6saaGUIiev4kB nEpZrRuZp/nrFYB2B7dqG3NWpzV5GRXshvcv1+EJS/WJ9b6uDjZdWlu1b9UlEoW2rXvj SIRUVw9uOxpsJktYPNO/qOpkVZPZMm6i9jhFNWcY3MyZIk7CD19D/cWcpgrxZHp5NR7J dTnXzwD5K5/z0mhxnvqcuols7+sK1LXscvpYEhCGTb0r3uEdNe703guulKJQCbUuJFur 1JTw== X-Received: by 10.69.19.225 with SMTP id gx1mr128599732pbd.62.1389023063985; Mon, 06 Jan 2014 07:44:23 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id g6sm169754050pat.2.2014.01.06.07.44.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 07:44:23 -0800 (PST) Date: Mon, 6 Jan 2014 21:14:20 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Subject: [PATCH 37/85] drivers: gpu: Include appropriate header file in r600_cs.c Message-ID: <8c3b2f348a02226a296817cdbe8265d51840a370.1389018325.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 06 Jan 2014 16:49:00 -0800 Cc: josh@joshtriplett.org, dri-devel@lists.freedesktop.org, Ilija Hadzic , Jerome Glisse , Alex Deucher , Dave Airlie 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@lists.freedesktop.org Errors-To: dri-devel-bounces@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=ham 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 gpu/drm/radeon/radeon_asic.h in drm/radeon/r600_cs.c because it uses the function declared in the header file. This eliminates the following warning in drm/radeon/r600_cs.c: drivers/gpu/drm/radeon/r600_cs.c:2251:5: warning: no previous prototype for ‘r600_cs_parse’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/radeon/r600_cs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 5dceea6..3b3be00 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -30,6 +30,7 @@ #include "radeon.h" #include "r600d.h" #include "r600_reg_safe.h" +#include "radeon_asic.h" static int r600_nomm; extern void r600_cs_legacy_get_tiling_conf(struct drm_device *dev, u32 *npipes, u32 *nbanks, u32 *group_size);