From patchwork Thu Apr 27 11:09:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 755980 X-Patchwork-Delegate: cyrille.pitchen@atmel.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wDDsK6sT8z9s7y for ; Thu, 27 Apr 2017 21:16:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gF5zCZkF"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=x2PRAql33zDiJKHeTYp6JqaNWHF29AwSP5CZU56zO9c=; b=gF5 zCZkFW45r8PJt0jHCzrgHU4YC1xakUUIqOWKFbcNW3guUtyE2ylo96Dkx8xuJaatT31JrG4yhl9Rd rJfdYZkGd+P9b3KaQhqJDBtg+Mq87kCJIxys2ixrxkA8XTXUmGl0c0W7qJR8R2N9XY1ImbulRnBHL TNM4MsHZPGJLerxYgUmE4Eqzlz1ZTv8zfzLvbI+Z0AvPacmpk96brns9ibwYEtG6bBk1QecnOFosn QgquvcvkiMkDFAioSL9q2lbjEq5TRWrPYXaEQELjT7oItie7LFLWjfKM/Q/oHFcTdF0n7EPQzqDZp eHxeK526iDi/l79f565BSo0jc7Q7zEg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d3hOz-000538-0I; Thu, 27 Apr 2017 11:16:01 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d3hOm-0004oc-6t; Thu, 27 Apr 2017 11:15:50 +0000 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MBezu-1dEBgL1Lio-00AZb8; Thu, 27 Apr 2017 13:09:31 +0200 From: Arnd Bergmann To: Cyrille Pitchen , Marek Vasut Subject: [PATCH] mtd: spi-nor: stm32: remove broken MODULE_ALIAS Date: Thu, 27 Apr 2017 13:09:45 +0200 Message-Id: <20170427111001.2587551-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:jT2war71pg5Qy3F7zAezXWSIi9lBIXGqa9k0S9R7Y9m006fy6a5 jErHozWoAi45HeHeRNQUoWiy5sUX61j5prndzG9ISqduC2tU5ovvxpsuXV5IsYT+C/NITui jtndOZxDlc3IxAY7UE3RrG9Px8DWAHzzygWSFy36f17UYnB9MC5JJly5aDfXM3hu96v06hp 6m6poCw12KE4SZj0w/Gpg== X-UI-Out-Filterresults: notjunk:1; V01:K0:4Cp9xtjp5iI=:kALuNfzkboDR4WnJ3sGd4G UsRXdhpwwmr4txxe/uxgW0bUi3lkiUKmhmkxEeT75xL2BRqPXbZGnKBgWXvlKfVmpCxx7uLQY 8IDwbjyy/LTuSbY9e7Pepn0EWaCAZCpVZHy3qQ1AB4nFQU978a3XXKsJouyNrf2bWIgoNAZ8a M/byazBCrCxaGGCO06ZxSmAUFEHcNWIwiH6AzXj8AwEPapCRdCSm2Li3mWxHBIqKTav1sU7h3 6STpg/kIU74DFDpXBQ9KGkjenLx6QcTfpbfr9L3WA5D7xia68gEzWrrm8lgIc5K7un2xvTWQ5 ijQW+rYzyegtdBJMgVY5YZQ5z9BDOPT04z19Vsg8EcYNqAiyL+2Pi52rZd1N8x2dhEBXc9KPJ UW+sxyPef3t8K4B/Ox/t7oGphuhgi0OHNxqmM0x2XvWQgP171AdaFGCCu1Op7owc7rgF3JN+x JF4MalNP71uzC6oiY3bpDvjD4ztSaZZgyCOfg1qLXKLUyeeAiJSEEKpQaiVviHZb/eyZ7F8i/ 0aWKDTf3LBwWIGWhX4AdKfEPnLn/ccrNs8h2ap7uuCu/88XC7/PVrfNKlBcJ1Y9DIZjIeASYu /SWkq1fJhdIJyMBrbMNvTofm0Jei/Wzi7zQpmfcKEj3UJwUXB3Mu7DUAZompbMnEp+3u/UfZn Snd9gMPDie8PANhbEBo2Da2TiY/UxYavvJbcDnEzAXVQCoI+EdLF4flyTT6C71okGWGE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170427_041548_577728_56D949AF X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.7 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.135 listed in list.dnswl.org] -2.8 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.135 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Alexandre Torgue , Arnd Bergmann , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Brian Norris , David Woodhouse , Ludovic Barre MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The MODULE_ALIAS statement refers to a macro that has never been defined in this driver, causing a build error: drivers/mtd/spi-nor/stm32-quadspi.c:694:150: error: expected ',' or ';' before 'DRIVER_NAME' Unless there is a specific alias we need other then the driver name, we don't need an alias here and can simply remove the line to fix the build. Fixes: dc5e400611c5 ("mtd: spi-nor: add driver for STM32 quad spi flash controller") Signed-off-by: Arnd Bergmann Acked-by: Cyrille Pitchen --- drivers/mtd/spi-nor/stm32-quadspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/spi-nor/stm32-quadspi.c b/drivers/mtd/spi-nor/stm32-quadspi.c index 90d9152ddf98..1056e7408d2a 100644 --- a/drivers/mtd/spi-nor/stm32-quadspi.c +++ b/drivers/mtd/spi-nor/stm32-quadspi.c @@ -691,7 +691,6 @@ static struct platform_driver stm32_qspi_driver = { }; module_platform_driver(stm32_qspi_driver); -MODULE_ALIAS("platform:" DRIVER_NAME); MODULE_AUTHOR("Ludovic Barre "); MODULE_DESCRIPTION("STMicroelectronics STM32 quad spi driver"); MODULE_LICENSE("GPL v2");