From patchwork Wed Oct 11 13:16:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris BREZILLON X-Patchwork-Id: 9999615 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 302C8602BF for ; Wed, 11 Oct 2017 13:17:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 204CC28965 for ; Wed, 11 Oct 2017 13:17:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11EE728A1C; Wed, 11 Oct 2017 13:17:09 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 12C9628965 for ; Wed, 11 Oct 2017 13:17:08 +0000 (UTC) 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:References: In-Reply-To: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:List-Owner; bh=Tk7RzkZi6SGIbP4thZ4XYLH2G8L34OXVsgn69DK431M=; b=uxIHQlUuTTQfo8KTOafpKWw1NT IcOZSJxfCKoMu5rbkyHdhzdIwglB/vseG1+hm692jLkqL0aevsb6n9pLxk2OhYFHLfw7jKMEdYUnm JgKd13OBXOR93LFEkdWXBbNaiyLkjl/T2NqIcJNlytmwIVYAacVSRqUpsIGauWVRx1SIBtJVcdOVc pElVkDxUvoPtz6ydnteM7EZ7YmyfFlBgOZQUIWuM4NqyrvAVwLbmeAIyZ/eL7X89CPoXLrAlki1Op wfrbL9fsh3Iazon2xw/sW8QoOt3lMHkYU1mp7QMpVVaPGXR6xL21Vpi6x/Q7RKztu2uHx7Br8UGqN mBsP480w==; 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 1e2Gsl-0000Cg-83; Wed, 11 Oct 2017 13:17:07 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2GsO-0008DX-Uy for linux-arm-kernel@lists.infradead.org; Wed, 11 Oct 2017 13:16:47 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id EF33B207CF; Wed, 11 Oct 2017 15:16:21 +0200 (CEST) Received: from localhost.localdomain (AAubervilliers-681-1-112-204.w90-88.abo.wanadoo.fr [90.88.51.204]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9891620791; Wed, 11 Oct 2017 15:16:21 +0200 (CEST) From: Boris Brezillon To: Arnd Bergmann , Olof Johansson , Kevin Hilman , linux-arm-kernel@lists.infradead.org, Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Subject: [PATCH 1/3] crypto: marvell - Add a platform_device_id table Date: Wed, 11 Oct 2017 15:16:17 +0200 Message-Id: <20171011131619.30196-2-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171011131619.30196-1-boris.brezillon@free-electrons.com> References: <20171011131619.30196-1-boris.brezillon@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171011_061645_216757_CA64EA5B X-CRM114-Status: GOOD ( 11.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Andrew Lunn , Jason Cooper , Boris Brezillon , Arnaud Ebalard , Russell King , Gregory CLEMENT , Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a platform_device_id table to allow using this driver on orion platforms that have not been converted to DT. Signed-off-by: Boris Brezillon --- drivers/crypto/marvell/cesa.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c index 6e7a5c77a00a..c14674c6c11d 100644 --- a/drivers/crypto/marvell/cesa.c +++ b/drivers/crypto/marvell/cesa.c @@ -599,9 +599,15 @@ static int mv_cesa_remove(struct platform_device *pdev) return 0; } +static const struct platform_device_id mv_cesa_plat_id_table[] = { + { .name = "mv_crypto" }, +}; +MODULE_DEVICE_TABLE(platform, mv_cesa_plat_id_table); + static struct platform_driver marvell_cesa = { .probe = mv_cesa_probe, .remove = mv_cesa_remove, + .id_table = mv_cesa_plat_id_table, .driver = { .name = "marvell-cesa", .of_match_table = mv_cesa_of_match_table,