From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752342AbbCXKv6 (ORCPT ); Tue, 24 Mar 2015 06:51:58 -0400 Received: from cantor2.suse.de ([195.135.220.15]:38954 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbbCXKvy (ORCPT ); Tue, 24 Mar 2015 06:51:54 -0400 Date: Tue, 24 Mar 2015 11:51:53 +0100 Message-ID: From: Takashi Iwai To: Krzysztof Kozlowski Cc: Jaroslav Kysela , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: asihpi: Fix duplicate const for clock sources In-Reply-To: <1427194104-31617-1-git-send-email-k.kozlowski@samsung.com> References: <1427194104-31617-1-git-send-email-k.kozlowski@samsung.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.4 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Tue, 24 Mar 2015 11:48:24 +0100, Krzysztof Kozlowski wrote: > > Replace duplicated const keyword for 'sampleclock_sources' with proper > array of const pointers to const strings. > > Signed-off-by: Krzysztof Kozlowski Applied, thanks. Takashi > --- > 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", > -- > 1.9.1 >