From patchwork Tue Apr 7 04:44:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jie, Yang" X-Patchwork-Id: 6167351 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 5F634BF4A6 for ; Tue, 7 Apr 2015 04:43:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 966A42034A for ; Tue, 7 Apr 2015 04:43:52 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 91DBA20272 for ; Tue, 7 Apr 2015 04:43:51 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7D17026155B; Tue, 7 Apr 2015 06:43:50 +0200 (CEST) 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 6C30626059E; Tue, 7 Apr 2015 06:42:04 +0200 (CEST) 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 2A56B260588; Tue, 7 Apr 2015 06:42:00 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by alsa0.perex.cz (Postfix) with ESMTP id 017CB260550 for ; Tue, 7 Apr 2015 06:41:56 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 06 Apr 2015 21:41:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,536,1422950400"; d="scan'208";a="691242419" Received: from keyon-u1310.sh.intel.com ([10.239.13.15]) by fmsmga001.fm.intel.com with ESMTP; 06 Apr 2015 21:41:54 -0700 From: Jie Yang To: broonie@kernel.org Date: Tue, 7 Apr 2015 12:44:51 +0800 Message-Id: <1428381891-30517-6-git-send-email-yang.jie@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428381891-30517-1-git-send-email-yang.jie@intel.com> References: <1428381891-30517-1-git-send-email-yang.jie@intel.com> Cc: alsa-devel@alsa-project.org, liam.r.girdwood@intel.com Subject: [alsa-devel] [PATCH v5 5/5] ALSA: jack: remove export snd_kctl_jack_new() 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 After created jack embedded kctls and removed hda jack kctls, the func snd_kctl_jack_new() is merely internal called, so here remove exporting it. Signed-off-by: Jie Yang --- sound/core/ctljack.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/core/ctljack.c b/sound/core/ctljack.c index e4b38fb..8702fb1 100644 --- a/sound/core/ctljack.c +++ b/sound/core/ctljack.c @@ -43,7 +43,6 @@ snd_kctl_jack_new(const char *name, int idx, void *private_data) kctl->private_value = 0; return kctl; } -EXPORT_SYMBOL_GPL(snd_kctl_jack_new); void snd_kctl_jack_report(struct snd_card *card, struct snd_kcontrol *kctl, bool status)