From patchwork Wed Jul 13 12:43:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: weiyj_lk@163.com X-Patchwork-Id: 9227519 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BABDD6086B for ; Wed, 13 Jul 2016 12:54:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A071E2621D for ; Wed, 13 Jul 2016 12:54:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91E1227F46; Wed, 13 Jul 2016 12:54:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D361426E69 for ; Wed, 13 Jul 2016 12:54:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 31DD36E70E; Wed, 13 Jul 2016 12:54:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from m12-13.163.com (m12-13.163.com [220.181.12.13]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A7A56E70B for ; Wed, 13 Jul 2016 12:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=4CJgY 9dQy1luybpXG014chlFCiRa9ZzMMwa4VD/i4iA=; b=Km9OgQumD6Kk268WNOcRC 9ySVNDAGIsT88Xo8a0dRge/1BdgupTKDLKdvNYVJ/YP4CExkv8xkq/SmW5R6LSme pwbchZ4KMZ1Kgvr5AtZsYx4rxVlw+5/HQedK/fhBmpO9WlDnE0MbUZtSWm45n40k LyfzAVZmaGnWB0Esrs2+LU= Received: from localhost.localdomain.localdomain (unknown [180.102.101.186]) by smtp9 (Coremail) with SMTP id DcCowABHpSpXN4ZXP09bAA--.276S2; Wed, 13 Jul 2016 20:43:04 +0800 (CST) From: weiyj_lk@163.com To: Boris Brezillon , David Airlie Subject: [PATCH -next] drm: atmel-hlcdc: fix non static symbol warning Date: Wed, 13 Jul 2016 12:43:03 +0000 Message-Id: <1468413783-2163-1-git-send-email-weiyj_lk@163.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CM-TRANSID: DcCowABHpSpXN4ZXP09bAA--.276S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7WryUGw4UCry5XF13AryxZrb_yoWDAFc_Gr 4xWr1DGr4Yy34UXF1DuFn8XF4Ivry7ZF4xtryqvrW3WrZrAr47AFW3JF4ftr1rZF42gFy5 W3WUA34rCFnIyjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUnC4iUUUUUU== X-Originating-IP: [180.102.101.186] X-CM-SenderInfo: pzhl5yxbonqiywtou0bp/1tbiJRil1lUMAvlboQAAsW X-Mailman-Approved-At: Wed, 13 Jul 2016 12:54:11 +0000 Cc: Wei Yongjun , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:390:6: warning: symbol 'atmel_hlcdc_crtc_reset' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c index a978381..9b17a66 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c @@ -387,7 +387,7 @@ void atmel_hlcdc_crtc_irq(struct drm_crtc *c) atmel_hlcdc_crtc_finish_page_flip(drm_crtc_to_atmel_hlcdc_crtc(c)); } -void atmel_hlcdc_crtc_reset(struct drm_crtc *crtc) +static void atmel_hlcdc_crtc_reset(struct drm_crtc *crtc) { struct atmel_hlcdc_crtc_state *state;