From patchwork Mon Mar 3 04:43:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Reid X-Patchwork-Id: 3750961 X-Patchwork-Delegate: tiwai@suse.de 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 46BEDBF13A for ; Mon, 3 Mar 2014 04:44:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B6D4202F8 for ; Mon, 3 Mar 2014 04:44:38 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7179D20263 for ; Mon, 3 Mar 2014 04:44:36 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1428A26555E; Mon, 3 Mar 2014 05:44:35 +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 E79F32654D5; Mon, 3 Mar 2014 05:44:24 +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 CD76E2654E8; Mon, 3 Mar 2014 05:44:23 +0100 (CET) Received: from mail-pb0-f74.google.com (mail-pb0-f74.google.com [209.85.160.74]) by alsa0.perex.cz (Postfix) with ESMTP id D213D2654D4 for ; Mon, 3 Mar 2014 05:44:16 +0100 (CET) Received: by mail-pb0-f74.google.com with SMTP id md12so399792pbc.5 for ; Sun, 02 Mar 2014 20:44:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ngfkAYZhKV+PkMLjT2xOV9y3vYtVTcmxKe5n/RMlomQ=; b=FHmHcYQrWGT+a0+vNrs9yHmsrE98F9nNmYJ8AwqnBP+zhHDpyIb+eugSi9fOYpO/7F CGFVwZBq5OKqzPEVmITHHRhIj3LG62OJrSUx4I9NSwgeDd3lh6vIsq0oDewMVsHipVGR An9MK9s/t/GQ6iIniwamp8D6FgTqSjFwtCv7Q+PPecuyEH7EtbJr0Y0dhQwzmdkfSvHN omSg+ncuWH7AKV+7cVs0JqXYcqjoCBqdk+2rqaknWQt5nZ+XOEVBGuZIumQed1RgUu8z ABH+YjEKxn+Dcqw7eYkPPIeiuem9pMewBw2E2I6/pB7I0TSX6KNFBWhJxY9VK3dbZy4P fADw== X-Gm-Message-State: ALoCoQk+Bs8fy0SZKvclSQ/dekgMnYtAwKPD1kNJ5Lu+aQ9vf3gxdoKZFsScmQj0NNdgb+vR/755b4F+jtsXjcys21YVjUaz9KLoJAgVOaPQX3Mdn6rRmTuNqUUwK2hC2JD9YR58B4tekW3WunnE7mRL9D/7guPh2EMnJmvCl14fGqQGYYVrvhXuijOc7a6khZzVyKltIbisryQ9iiWQqnqg5N48772SNNZlBWFhe6QJUT32TiZKt/4= X-Received: by 10.66.253.9 with SMTP id zw9mr8244392pac.38.1393821855559; Sun, 02 Mar 2014 20:44:15 -0800 (PST) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id k45si1663903yhn.4.2014.03.02.20.44.15 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Mar 2014 20:44:15 -0800 (PST) Received: from hojo20.mtv.corp.google.com (hojo20.mtv.corp.google.com [172.22.72.28]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 52FB631C1CD; Sun, 2 Mar 2014 20:44:15 -0800 (PST) Received: by hojo20.mtv.corp.google.com (Postfix, from userid 123195) id E29931806FF; Sun, 2 Mar 2014 20:44:14 -0800 (PST) From: Dylan Reid To: alsa-devel@alsa-project.org Date: Sun, 2 Mar 2014 20:43:59 -0800 Message-Id: <1393821841-4133-1-git-send-email-dgreid@chromium.org> X-Mailer: git-send-email 1.8.1.3.605.g02339dd Cc: tiwai@suse.de, Dylan Reid Subject: [alsa-devel] [PATCH 1/3] ALSA: hda - Make azx_attach_pcm_stream static 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 It is only used in hda_controller.c now. Signed-off-by: Dylan Reid --- sound/pci/hda/hda_controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 6156d0a..97993e1 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -971,8 +971,8 @@ static void azx_pcm_free(struct snd_pcm *pcm) #define MAX_PREALLOC_SIZE (32 * 1024 * 1024) -int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, - struct hda_pcm *cpcm) +static int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, + struct hda_pcm *cpcm) { struct azx *chip = bus->private_data; struct snd_pcm *pcm;