From patchwork Tue Mar 24 10:48:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6078021 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B3149BF90F for ; Tue, 24 Mar 2015 10:49:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 050C1201F2 for ; Tue, 24 Mar 2015 10:49:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 93D52201C8 for ; Tue, 24 Mar 2015 10:49:23 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id B99E9260499; Tue, 24 Mar 2015 11:49:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id B6C392651A3; Tue, 24 Mar 2015 11:48:53 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 90F812651A4; Tue, 24 Mar 2015 11:48:52 +0100 (CET) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by alsa0.perex.cz (Postfix) with ESMTP id 2C5DB265139 for ; Tue, 24 Mar 2015 11:48:32 +0100 (CET) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NLP001DAQ7IM700@mailout2.w1.samsung.com> for alsa-devel@alsa-project.org; Tue, 24 Mar 2015 10:52:30 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-6d-551140fec8ee Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id EA.92.26295.EF041155; Tue, 24 Mar 2015 10:48:30 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NLP005N1Q0R7900@eusync1.samsung.com>; Tue, 24 Mar 2015 10:48:30 +0000 (GMT) From: Krzysztof Kozlowski To: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Tue, 24 Mar 2015 11:48:24 +0100 Message-id: <1427194104-31617-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEJMWRmVeSWpSXmKPExsVy+t/xy7r/HARDDW4vV7G4cvEQk8XrF4YW l3fNYbPo3NXPavFy8xsmB1aPDZ+b2Dz2vV3G5tG3ZRWjx+bT1R6fN8kFsEZx2aSk5mSWpRbp 2yVwZfxsOcJecIa9YsqH5awNjMfYuhg5OSQETCRmPpvDBGGLSVy4tx4ozsUhJLCUUaKtZysz hNPHJLHxx2kWkCo2AWOJzcuXgHWLCNRL3Jk3hx3EZhYwlPj57g+YLSzgItH04wxYPYuAqsSv DdPBbF4Bd4kFW5azQmyTkzh5bDLrBEbuBYwMqxhFU0uTC4qT0nON9IoTc4tL89L1kvNzNzFC wuHrDsalx6wOMQpwMCrx8EbU84cKsSaWFVfmHmKU4GBWEuEVVhEMFeJNSaysSi3Kjy8qzUkt PsTIxMEp1cB455V45taizx37HxQVZCdVGTyxYXc6E7VRtE6xLiLIc/+/6Tz+U19rSS5efHnV u8sXKnce/mqoIDKty++vyky+PrFf8fFeGiq/lNMiry5gdvb+qV04+fPRwlYGpXQPlwc/599r 36J62pnLOMJuyxm5w9Vd8UlnTdPPhtlb/V1Tzx/4Yq7MzGAlluKMREMt5qLiRABIQT3+5QEA AA== Cc: Krzysztof Kozlowski Subject: [alsa-devel] [PATCH] ALSA: asihpi: Fix duplicate const for clock sources X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Replace duplicated const keyword for 'sampleclock_sources' with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski --- sound/pci/asihpi/asihpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index e5cd7be85355..1039eccbb895 100644 --- a/sound/pci/asihpi/asihpi.c +++ b/sound/pci/asihpi/asihpi.c @@ -2376,7 +2376,7 @@ static int snd_asihpi_cmode_add(struct snd_card_asihpi *asihpi, /*------------------------------------------------------------ Sampleclock source controls ------------------------------------------------------------*/ -static const char const *sampleclock_sources[] = { +static const char * const sampleclock_sources[] = { "N/A", "Local PLL", "Digital Sync", "Word External", "Word Header", "SMPTE", "Digital1", "Auto", "Network", "Invalid", "Prev Module", "BLU-Link",