From patchwork Tue Oct 18 11:43:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sharma, Shashank" X-Patchwork-Id: 9381973 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 7913E607D0 for ; Tue, 18 Oct 2016 11:43:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69E1A2920C for ; Tue, 18 Oct 2016 11:43:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E98329262; Tue, 18 Oct 2016 11:43: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.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 425D22920C for ; Tue, 18 Oct 2016 11:43:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BB9B86E3FC; Tue, 18 Oct 2016 11:43:15 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 654276E3FC for ; Tue, 18 Oct 2016 11:43:14 +0000 (UTC) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP; 18 Oct 2016 04:43:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,361,1473145200"; d="scan'208";a="20773419" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 18 Oct 2016 04:43:13 -0700 Received: from bgsmsx154.gar.corp.intel.com (10.224.48.47) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 18 Oct 2016 04:43:13 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.210]) by BGSMSX154.gar.corp.intel.com ([169.254.7.140]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 17:13:09 +0530 From: "Sharma, Shashank" To: "Nikula, Jani" , "intel-gfx@lists.freedesktop.org" Thread-Topic: [PATCH 2/2] drm/i915: make lspcon_get_current_mode static Thread-Index: AQHSKTH/oG5Rd/F5i0apSBqzilhsJKCuFyCQ Date: Tue, 18 Oct 2016 11:43:09 +0000 Message-ID: References: <1476789711-19697-1-git-send-email-jani.nikula@intel.com> <1476789711-19697-2-git-send-email-jani.nikula@intel.com> In-Reply-To: <1476789711-19697-2-git-send-email-jani.nikula@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Cc: "Vivi, Rodrigo" Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: make lspcon_get_current_mode static X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: Shashank Sharma Regards Shashank -----Original Message----- From: Nikula, Jani Sent: Tuesday, October 18, 2016 4:52 PM To: intel-gfx@lists.freedesktop.org Cc: Nikula, Jani ; Vivi, Rodrigo ; Sharma, Shashank Subject: [PATCH 2/2] drm/i915: make lspcon_get_current_mode static Fixes sparse warning: drivers/gpu/drm/i915/intel_lspcon.c:30:22: warning: symbol 'lspcon_get_current_mode' was not declared. Should it be static? Fixes: dbe9e61b8e43 ("drm/i915: Add lspcon support for I915 driver") Cc: Rodrigo Vivi Cc: Shashank Sharma Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_lspcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 2.1.4 diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c index d606f1a8f3b6..632149c6b3ad 100644 --- a/drivers/gpu/drm/i915/intel_lspcon.c +++ b/drivers/gpu/drm/i915/intel_lspcon.c @@ -27,7 +27,7 @@ #include #include "intel_drv.h" -enum drm_lspcon_mode lspcon_get_current_mode(struct intel_lspcon *lspcon) +static enum drm_lspcon_mode lspcon_get_current_mode(struct intel_lspcon +*lspcon) { enum drm_lspcon_mode current_mode = DRM_LSPCON_MODE_INVALID; struct i2c_adapter *adapter = &lspcon->aux->ddc; --