From patchwork Mon Jan 6 15:20:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3444691 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 855819F2E9 for ; Tue, 7 Jan 2014 00:54:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C311C2016D for ; Tue, 7 Jan 2014 00:54:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F3A042016C for ; Tue, 7 Jan 2014 00:54:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4058D108728; Mon, 6 Jan 2014 16:53:36 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 245F61060BF for ; Mon, 6 Jan 2014 07:20:43 -0800 (PST) Received: by mail-pa0-f50.google.com with SMTP id kp14so16849094pab.37 for ; Mon, 06 Jan 2014 07:20:43 -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=HSo3Xmyzb5DPttnDnyRdAL2FLRNrAc2xtxlS1V7ms3M=; b=Bi48vnFhFmc6Qgrvultlf2wQxr1TBuCI/Df8x8EEDMCAcXvZWRl08IjkWX72mviSd5 JCjcP7WNyPh1j8joyVLFVzkXTr0AXjCGCyTakj6kbwbP9DqsqpmF3xqWcyYVf7Zdl3/a U2+Xn0E/L30tpv/eEL13Q8Nh0fzJTu8C5R/tRz1a9tcQYV54C62I/ynoLQTrSGDjNNxF S+14cqm/Y+m2pDpZtr5VlizmeElmail2aV1ONXXsGAO03+jqDTe4eoVHIxadrxf71ZbR GK9D0dnSyO+3Zlti3RXO+ksk/lvJ9hzhmWbpD4MBcM2fupBiKIDF/wqDNnQD7pkQtIA7 iH8A== X-Received: by 10.69.31.170 with SMTP id kn10mr126130483pbd.106.1389021643013; Mon, 06 Jan 2014 07:20:43 -0800 (PST) Received: from rashika ([14.139.82.6]) by mx.google.com with ESMTPSA id ae5sm169575745pac.18.2014.01.06.07.20.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 07:20:42 -0800 (PST) Date: Mon, 6 Jan 2014 20:50:38 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Subject: [PATCH 21/85] drivers: gpu: Include appropriate header file in r128_ioc32.c Message-ID: 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:48:57 -0800 Cc: Rashika Kheria , 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@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=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 drm/r128/r128_drv.h in drm/r128/r128_ioc32.c because function r128_compat_ioctl() has its prototype declaration in the header file. This eliminates the following warning in drm/r128/r128_ioc32.c: drivers/gpu/drm/r128/r128_ioc32.c:196:6: warning: no previous prototype for ‘r128_compat_ioctl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/r128/r128_ioc32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c index a954c54..b0d0fd3 100644 --- a/drivers/gpu/drm/r128/r128_ioc32.c +++ b/drivers/gpu/drm/r128/r128_ioc32.c @@ -33,6 +33,7 @@ #include #include +#include "r128_drv.h" typedef struct drm_r128_init32 { int func;