From patchwork Wed Aug 3 01:24:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9260669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4385460865 for ; Wed, 3 Aug 2016 01:35:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36D2328534 for ; Wed, 3 Aug 2016 01:35:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B09B2853D; Wed, 3 Aug 2016 01:35:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A145A28534 for ; Wed, 3 Aug 2016 01:35:50 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id B4E6F2668B3; Wed, 3 Aug 2016 03:35:49 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D13202665D5; Wed, 3 Aug 2016 03:33:38 +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 033F326665D; Wed, 3 Aug 2016 03:33:37 +0200 (CEST) Received: from relmlie4.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by alsa0.perex.cz (Postfix) with ESMTP id 2554926656A for ; Wed, 3 Aug 2016 03:24:10 +0200 (CEST) Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie4.idc.renesas.com with ESMTP; 03 Aug 2016 10:24:09 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id CFAD74957B; Wed, 3 Aug 2016 10:24:09 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id C66AE2806E; Wed, 3 Aug 2016 10:24:09 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id C07332806D; Wed, 3 Aug 2016 10:24:09 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id LAD30352; Wed, 3 Aug 2016 10:24:09 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="216549455" Received: from mail-hk2apc01lp0212.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.212]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 03 Aug 2016 10:24:08 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GJDkg9S1XaFzFdvfG5ynPQQR468wvxYiQWZVob9+1Dc=; b=nthAYhHEKV21M+ttFjoFWAOHEkGju6Rn4cCLzHhQu2K4gCxb09h3AFZ0RqLzRKYtRj1pRthDQbFYOU7m9EMsydAHJ/UJ3kdtI1knGlpV1gZuNSnm+fD5ph0KErdCV0bht7d+LyvkdVAbN7mgDki6g7jI5INOXU8FG9LTMv7hO/M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by PS1PR0601MB1449.apcprd06.prod.outlook.com (10.165.210.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Wed, 3 Aug 2016 01:24:05 +0000 Message-ID: <87eg668xek.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 3 Aug 2016 01:24:05 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OSXPR01CA0064.jpnprd01.prod.outlook.com (10.167.144.36) To PS1PR0601MB1449.apcprd06.prod.outlook.com (10.165.210.153) X-MS-Office365-Filtering-Correlation-Id: 102b3708-a489-45c3-c68f-08d3bb3cdca4 X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1449; 2:2wFwZGsFsdxqr1gA/dwfQ+9/SBdThgiSDpgMO2xx/kkpmWYBcQCRRZRm73F5jplzvhdPaVHvH3ToMFAz/wOkBsf80wbYKU/bb+CmPdiQGg6W0hbnHHcnyrwz1PZ/+Ljm+ssZNEa5QZuty7phdz+lJFn+YewecG3ayfGc4CpXIv9T7ZMPtVbN9GXjvacgc6yB; 3:FSOca4oS3BIQkrycraH2NtuoIn1S+of05ff0BmfW+fsmkNb//zqCrlW3fyVVDi+ubE/1aD924sAfBMGOisa/5lnwiS1esYzJ7VR2coVbkQ7sYhK28GoCvQqsXbQiesF0; 25:fZPleAsFietk2BO+xOfyQW4tAz4futWnZ8BMzHxPsZivVpIwJu4NFKvhEqXsFI9BgkAV0byV6N42/iSKByBvDKmixh2KIpcLF2rwSaUY6iGdt7Z6l6ZzoJ3H3xMmI4EXErY1NOGlB9kc3ZJ9hx/E/7pNQArsLF5aC3Wdcb/CXp3xdJgxBlRnEc4giXnm8r4RMKvznZjynqCCrRTcZFm3WAaEa9QteCHEzPKykffMI8GIVuGu2kQpFN9Etg1dwXmNUol5LJYrwr/K7WIKdRQ+auxCGdWEkukKnTBBKxpE/NsuLZ+izElKooc6XB1kkildZAzSCrJb2sHXD6QcvVcB8jyAQ8+8weN/rcwrBN5zxnqLof4YwWUKXPzZphYz5Wot0aXUaRLUc4/b+bEDdD1/RPZl/aEI0J09UIAYralfo50= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR0601MB1449; X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1449; 31:RUFlHixzq2vW4jGBjiYurxRw88wZ78/ECVLPOE1w0eZU3CdZPQNLLk8Mgzej/pzUc/OPsbxpSGgPc1dJ+GGPzITjtcUYCXa8aPg5pWfoQXECIzaaRpXSYpqLJLfaSdhlTUb4RRMFSrb0bx+gEaipu2EgESHYDq4BhLjftol9CVg74xVLlx8/HQLYt8dPNelJPk48Z1oq/6SIvwnIAcJmZKCuSFpC8+uo196UG1uGWSk=; 20:IXKlC9evmoZYb6Mg1oPF8S2l8OAxh5l1aXd4rajmDvHPrnwlWooyuGZrLNrEZR4oBVbeXxBymYoMeR74kwJZo9VcKQ4/EuFEC1OGznXh0xGZEWWmSlUkPVu3sDog51kwdf/uWNvL6XQliOTxghsXb4e7NFhqJHt7APxd3avyyR8y2ggosfPLlFZp4Hur55C8id22kXphN2AQvj9W1S5KIaDCcDo8ViUNc/4QaWTtthnMHgYPdfjsajAO0YN+ur8Pau8105xpFR7DP6T2CO7s0yBVnU+oH0C6BvDT5GFI5Q6TmxKkSM230/KbXdtd6R/GbIJwNCXbHM4gPNQTvAw+DVRyMDZpBFFw8n2RkTC80s47OvRhtT9KcyrMcgbikw5WPmeaSZJzO6pPeWM5Z3/8UQlU/VvOcC1jOk6REOick09NAwqIuQwMSPbRYes+zU5tg6SfhZ2y+YmiLz5d/OJrUBO0zOyJj14VSj6o6HJJuvZoJzA9or7FpGc5sUed7SDd X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:PS1PR0601MB1449; BCL:0; PCL:0; RULEID:; SRVR:PS1PR0601MB1449; X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1449; 4:hJ+rLjk1HA3A9jPycrlbCFYXg6ml2wvibIayS623HjaLb4SSNMlf/UODvHAh5qgPKXsUGzh+uI8eLCwL5s3Y6VkqxQYO1vJQGSXKhi2biiAb2qW+IsdHoAO8cn58Bb/6o7LmMNclLWHFNngr7Naf0UenvyaZ8fvWw34ypPyEiDuL7SSawQE+GJO7LAz01kepN05+PsLkeRq7tQHPhO6NtQYB/lbvUGz/n4Ber5ggFeb9FQQizxiylMH+smaJ4n7C3tkSq+QslohdSRxIdvdscnDBxlwDUstC6WCsO66E/98JkeB+AsNeV816abJDp3VSBRaBZUtF/L9u8A0LkMSEyvtft9FieEQK3WqJkPUGyJQRb5uIfeERrP2Ga8M4POU4QVkuol//Jq6jGVHB8NR8/g== X-Forefront-PRVS: 00235A1EEF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(97736004)(110136002)(230783001)(105586002)(77096005)(42186005)(81156014)(68736007)(69596002)(101416001)(4001350100001)(83506001)(66066001)(81166006)(19580395003)(19580405001)(47776003)(3846002)(586003)(7846002)(7736002)(86362001)(305945005)(229853001)(50986999)(92566002)(6116002)(46406003)(4326007)(8676002)(50466002)(53416004)(54356999)(36756003)(189998001)(106356001)(23726003)(33646002)(2906002)(21314002)(2004002)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR0601MB1449; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; PS1PR0601MB1449; 23:ZVOUvIugNmaY83ZE6H8ONk0f9bnDluiGRPOc6fa?= =?us-ascii?Q?gh3etNboYOZGbFbUiYbLFhbeojXGqy6JHGtNnmfCZ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PFQL6kykASZu3kehwpNtWWBA0Dai6Lyx6Pw2F2RSQomO1y/hTX/FlsxiEZbA4LnmE2TT3wTucyxIlkU8cQHAgsThmS4FGByZJwJWUUk9641HnD4zesQiyyKjk7Fow1rUcTfKYYgO6mIy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1449; 20:raw9YWHTdjv0EvEY5MKUBeKFExG05dtjHbvNb+8UaznSzWW6M/1ZbgaVO7/xwKIb5ImwNKps9gZMCkfSlPs9ESdTsKdn4P8uxwdcZL7R3a8V2s9c/Yx7C/sEvZflzWzDy2DUDOa7rLPhRLgAxd8ANS02tDdq7cn/T96VStky3wY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2016 01:24:05.8995 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1449 Cc: linux-renesas-soc@vger.kernel.org, Linux-ALSA , Simon , Liam Girdwood Subject: [alsa-devel] [PATCH v2] ASoC: simple-card-utils: add missing MODULE_xxx() 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto simple-card-utils might be used as module, but MODULE_xxx() information was missed. This patch adds it. Otherwise, we will have below error, and can't use it. Specil thanks to Kevin. > insmod simple-card-utils.ko simple_card_utils: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint simple_card_utils: Unknown symbol snd_soc_of_parse_daifmt (err 0) simple_card_utils: Unknown symbol snd_soc_of_parse_card_name (err 0) insmod: can't insert 'simple-card-utils.ko': \ unknown symbol in module, or unknown parameter Reported-by: Kevin Hilman Signed-off-by: Kuninori Morimoto --- v1 -> v2 - remove MODULE_ALIAS() sound/soc/generic/Makefile | 6 +++--- sound/soc/generic/simple-card-utils.c | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sound/soc/generic/Makefile b/sound/soc/generic/Makefile index 45602ca..2d53c8d 100644 --- a/sound/soc/generic/Makefile +++ b/sound/soc/generic/Makefile @@ -1,5 +1,5 @@ -obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) := simple-card-utils.o - +snd-soc-simple-card-utils-objs := simple-card-utils.o snd-soc-simple-card-objs := simple-card.o -obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o +obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) += snd-soc-simple-card-utils.o +obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o diff --git a/sound/soc/generic/simple-card-utils.c b/sound/soc/generic/simple-card-utils.c index d89a9a1..9599de6 100644 --- a/sound/soc/generic/simple-card-utils.c +++ b/sound/soc/generic/simple-card-utils.c @@ -7,6 +7,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include #include #include @@ -95,3 +96,8 @@ int asoc_simple_card_parse_card_name(struct snd_soc_card *card, return 0; } EXPORT_SYMBOL_GPL(asoc_simple_card_parse_card_name); + +/* Module information */ +MODULE_AUTHOR("Kuninori Morimoto "); +MODULE_DESCRIPTION("ALSA SoC Simple Card Utils"); +MODULE_LICENSE("GPL v2");