From patchwork Tue Jul 2 09:26:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 2811401 Return-Path: X-Original-To: patchwork-linux-arm@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 CF010BF4A1 for ; Tue, 2 Jul 2013 09:28:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB4262013E for ; Tue, 2 Jul 2013 09:28:13 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 992FB2014C for ; Tue, 2 Jul 2013 09:28:12 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Utwrm-0002Fx-Ot; Tue, 02 Jul 2013 09:27:19 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtwrZ-0002ek-NK; Tue, 02 Jul 2013 09:27:05 +0000 Received: from mail-bk0-x22e.google.com ([2a00:1450:4008:c01::22e]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtwrW-0002cx-PM for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2013 09:27:03 +0000 Received: by mail-bk0-f46.google.com with SMTP id na10so2166154bkb.19 for ; Tue, 02 Jul 2013 02:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=JjGr9bunHjp7EjrCq2bSzBUSwQzfG3EWaZAcBELnlvU=; b=D3GTMsGx4Y/vQirHoEW3zex08/2d5sE+kENfSoM2o6+Wqds4uStqsCrhfJ9XEcUaFS xwgWyM2yfdtlI3A/WOj8jPv4oYuvizmhc3dQbHQxAMUNqr1BA42oMeyLYrPyQj7DCICm 0RhcBEOw8CuiCYozhOBRcaJwo3+irg96aB4ci4ML9ys86vJfJIJriMd1IoGUSACpyXGc R5Wtpx5Xjvi5bk8BkIXkhGKcjKPhk1AO6CCGd/+7AE6g6mud3og75N/xGVpbk6sfCx56 zt1JBlMbMYb/O2P8wRp7Y/rOXQTZYcCfAxx16ePjqqR3mpDwsJP0j968HB4N2vqoKZXN 8xBQ== MIME-Version: 1.0 X-Received: by 10.204.236.136 with SMTP id kk8mr1851866bkb.151.1372757200094; Tue, 02 Jul 2013 02:26:40 -0700 (PDT) Received: by 10.205.122.72 with HTTP; Tue, 2 Jul 2013 02:26:40 -0700 (PDT) Date: Tue, 2 Jul 2013 17:26:40 +0800 Message-ID: Subject: [PATCH] ASoC: ttc_dkb: add .owner to struct snd_soc_card From: Wei Yongjun To: eric.y.miao@gmail.com, linux@arm.linux.org.uk, haojian.zhuang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.de X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130702_052702_997327_AC8C2107 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: yongjun_wei@trendmicro.com.cn, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users. Signed-off-by: Wei Yongjun --- sound/soc/pxa/ttc-dkb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c index f4ea4f6..13c9ee0 100644 --- a/sound/soc/pxa/ttc-dkb.c +++ b/sound/soc/pxa/ttc-dkb.c @@ -122,6 +122,7 @@ static struct snd_soc_dai_link ttc_pm860x_hifi_dai[] = { /* ttc/td audio machine driver */ static struct snd_soc_card ttc_dkb_card = { .name = "ttc-dkb-hifi", + .owner = THIS_MODULE, .dai_link = ttc_pm860x_hifi_dai, .num_links = ARRAY_SIZE(ttc_pm860x_hifi_dai),