From patchwork Fri Aug 28 12:44:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7091691 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 54748BEEC1 for ; Fri, 28 Aug 2015 12:46:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8CC820817 for ; Fri, 28 Aug 2015 12:46:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19EE720828 for ; Fri, 28 Aug 2015 12:46:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ1d-0000WG-0B; Fri, 28 Aug 2015 12:44:57 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ1J-0008Ap-HY for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 12:44:38 +0000 Received: by wicfv10 with SMTP id fv10so7262005wic.1 for ; Fri, 28 Aug 2015 05:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=oSAhOPFuwkKUYrCJuHHdV+jbDsrVvewxv1QRAuP+LEw=; b=PgwHbb0uJi2q2FXBokALNbUfMUIdLWh3b9LwcDawaNPlyAhvhCUFwFs8USxjYMqPfg Su+xGtyIKOkceoZtx9Gq1JsiGX4XAL36gCASnWNYMJ9B96t2OJg+QSDNnBfBYtfMsOnM IYR23MNsoTcyffWzvSkboXyyrO5jjTLxcyGMw7JEiEkNpkDfclKZOhvbPxlTmx1sve+S b/9VIurDb0tqzPydz3dzuMH8glunbEimxrdxT4yCqK/ndg9oGPc8Re2lcskiDPCNKapl //3Y/PiHuqN1J8t+qzpsuT+pRW918qDfnSH9Ug26eu6YHzz1ePD11ivPNrFZ0FBz73Vf vyng== X-Received: by 10.180.216.108 with SMTP id op12mr4445504wic.43.1440765855815; Fri, 28 Aug 2015 05:44:15 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id ir5sm7903690wjb.23.2015.08.28.05.44.14 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 05:44:15 -0700 (PDT) Date: Fri, 28 Aug 2015 14:44:14 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 4/5] clk: sunxi: sun8i-apb0: Fix module autoload for OF platform driver Message-ID: <20150828124414.GA26661@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150828_054437_809322_8C49A24F X-CRM114-Status: GOOD ( 12.69 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emilio Lopez , Michael Turquette , Stephen Boyd , Javier Martinez Canillas , Maxime Ripard , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/clk/sunxi/clk-sun8i-apb0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sun8i-apb0.c b/drivers/clk/sunxi/clk-sun8i-apb0.c index 155d002..7ae5d2c 100644 --- a/drivers/clk/sunxi/clk-sun8i-apb0.c +++ b/drivers/clk/sunxi/clk-sun8i-apb0.c @@ -52,6 +52,7 @@ static const struct of_device_id sun8i_a23_apb0_clk_dt_ids[] = { { .compatible = "allwinner,sun8i-a23-apb0-clk" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun8i_a23_apb0_clk_dt_ids); static struct platform_driver sun8i_a23_apb0_clk_driver = { .driver = {