From patchwork Fri Aug 28 12:43:33 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: 7091661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1824C9F22E for ; Fri, 28 Aug 2015 12:46:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 328EB20824 for ; Fri, 28 Aug 2015 12:46:02 +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 5EBD020815 for ; Fri, 28 Aug 2015 12:46:01 +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 1ZVJ12-0008ES-O4; Fri, 28 Aug 2015 12:44:20 +0000 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ0e-0007eY-LH for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 12:43:57 +0000 Received: by wibcx1 with SMTP id cx1so13450030wib.1 for ; Fri, 28 Aug 2015 05:43:35 -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=Bj6W20Xj5fY5njPopKkQbINxIgVcPRBKJ6ZVSR7M4Xg=; b=dLM26PI8nQ7Bx2xjDabSBfsD2i2H9pZMDVjorI6EI1BzFN0IHNF3qwAnTYFJwA4bjT FqiAshuxnkKivtYsGo5wWfJn1/5jOBZ/a78A9WnOXy+VeLV+7sT0sPgQKB7u8ggtS7gv J8AhvjstD4Dbl6Vf2oBlzTcH+GrF2m6yYBkJZfeHokyKZ71tMzt4/5x1WgewEURcPdEM 3olWkMMAaxwwEqw6i72KjAsP7tMBtM7A1f2BPo61hs43UY583HdOe4voxvBZslPzCyoA TBBtywuYa8S7Mf+bYVCoYMq+qB/UhwabE21mMtUibgSyNBLzLu7KYMf/pecoUKE6Y03u mcgg== X-Received: by 10.180.8.135 with SMTP id r7mr4522630wia.58.1440765814954; Fri, 28 Aug 2015 05:43:34 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id h3sm3653685wiz.9.2015.08.28.05.43.34 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 05:43:34 -0700 (PDT) Date: Fri, 28 Aug 2015 14:43:33 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 2/5] clk: sunxi: sun6i-apb0-gates: Fix module autoload for OF platform driver Message-ID: <20150828124333.GA26601@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_054356_883425_6A137D72 X-CRM114-Status: GOOD ( 13.54 ) 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-sun6i-apb0-gates.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c index 64f3e46..23d042a 100644 --- a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c +++ b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c @@ -34,6 +34,7 @@ static const struct of_device_id sun6i_a31_apb0_gates_clk_dt_ids[] = { { .compatible = "allwinner,sun8i-a23-apb0-gates-clk", .data = &sun8i_a23_apb0_gates }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun6i_a31_apb0_gates_clk_dt_ids); static int sun6i_a31_apb0_gates_clk_probe(struct platform_device *pdev) {