From patchwork Wed Jan 8 10:52:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3453391 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CDD489F374 for ; Wed, 8 Jan 2014 10:52:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8D8B2010C for ; Wed, 8 Jan 2014 10:52:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D06D020109 for ; Wed, 8 Jan 2014 10:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753914AbaAHKwt (ORCPT ); Wed, 8 Jan 2014 05:52:49 -0500 Received: from mail-pd0-f172.google.com ([209.85.192.172]:47646 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbaAHKws (ORCPT ); Wed, 8 Jan 2014 05:52:48 -0500 Received: by mail-pd0-f172.google.com with SMTP id g10so1629914pdj.31 for ; Wed, 08 Jan 2014 02:52:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=AsPnrcpWIeq04HtAHPWqauj8hJOL41WUG/P2A2Hb4YA=; b=NDOE/mKU7r0sNH7JV6IYp34C3xswqv/wB+LRRNRNqVi1B6CLSeQWTHV+uepEEqi2Hy 2kFOsO7FobQjxJFC+PB/kzXyILXWPoPHmbUS426516/ILG9l/YnqBWTsgVpSBG9dL6+O qJFcufXyESFNG/Z8deanruEYMA6ctgEfroyiVviody5D9j/5jNwYez785GMotb/rsbd5 BBcWJbTQoQGSqJuvaCZ09keQx09lTlPS8OHhxPysXg89N3jrLA5ZXpFnABkb/ncszGVv 0TeHEAdRCOsppSO+xPd4YpqqML0PSoPe1wC7VIyfHatkNSSzBkAK1n5y29WebatCTEsm WQ0Q== X-Gm-Message-State: ALoCoQlwAodbIQssZMaQ2QGIo41zvWyj9HhGcmTu1GG9Kby6rnO7zl8ewtNo4zKPhCZV/lR+zHMa X-Received: by 10.66.179.143 with SMTP id dg15mr11972786pac.52.1389178368444; Wed, 08 Jan 2014 02:52:48 -0800 (PST) Received: from [10.145.54.156] ([60.245.65.194]) by mx.google.com with ESMTPSA id qf7sm1810325pac.14.2014.01.08.02.52.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 02:52:47 -0800 (PST) Message-ID: <1389178360.27961.1.camel@phoenix> Subject: [PATCH] spi: sh-hspi: Fix modalias for sh-hspi From: Axel Lin To: Mark Brown Cc: Kuninori Morimoto , linux-spi@vger.kernel.org Date: Wed, 08 Jan 2014 18:52:40 +0800 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Make the modalias matches the driver name. Seems the MODULE_ALIAS is copied from drivers/spi/spi-sh-spi.c. So both spi-sh.ko and spi-sh-hspi.ko have the same alias. Fix it. Signed-off-by: Axel Lin --- drivers/spi/spi-sh-hspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c index 292567a..40179d2 100644 --- a/drivers/spi/spi-sh-hspi.c +++ b/drivers/spi/spi-sh-hspi.c @@ -353,4 +353,4 @@ module_platform_driver(hspi_driver); MODULE_DESCRIPTION("SuperH HSPI bus driver"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Kuninori Morimoto "); -MODULE_ALIAS("platform:sh_spi"); +MODULE_ALIAS("platform:sh-hspi");