From patchwork Fri Aug 28 12:43: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: 7091611 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 A13AE9F22E for ; Fri, 28 Aug 2015 12:45:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1B9B2083E for ; Fri, 28 Aug 2015 12:45: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 1885720853 for ; Fri, 28 Aug 2015 12:45: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 1ZVJ0U-0007l0-IH; Fri, 28 Aug 2015 12:43:46 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ0K-0007W1-W0 for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 12:43:37 +0000 Received: by wibgu7 with SMTP id gu7so8290859wib.1 for ; Fri, 28 Aug 2015 05:43: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=/eMtiTuzmabORsNamDIYUnW98C5CVmta6DGtQ799PHk=; b=OkPaNBzViFNl5oNsEmx4/zLXbx6IyVNuOYEojfs8vvUBGjfOl4WLuKMPMbfdcskFds tzsm+BEkIB6F8m9ArnzAkDeNkw/rnQCGhWlyQZqdBYURQZyMp0MgV4RgEb9wkwTxFnXB tVqLpUFKdMC7uNEdz6yntbwQEU4W6697KAAsI9JJdOzIlEACVc8kxwHkLIsDL7V9D/7v jssKlknlRrf2OJ9TvwRA0NHIggRzFDk9VMCYbL1BFc6/B0PyyVr8wNbixGF9WZzSWfl4 TwdnrXhMnIUQUbVGnSe8zofc7Fudeg0TXzGm03k924WVyx8dYyaEFqWK+6V/ljRIT61l 9UkQ== X-Received: by 10.180.219.41 with SMTP id pl9mr4429211wic.30.1440765795668; Fri, 28 Aug 2015 05:43:15 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id bq7sm7884190wjc.31.2015.08.28.05.43.14 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 05:43:15 -0700 (PDT) Date: Fri, 28 Aug 2015 14:43:14 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 1/5] clk: sunxi: sun6i-apb0: Fix module autoload for OF platform driver Message-ID: <20150828124314.GA26550@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_054337_220852_0ECBBFF3 X-CRM114-Status: GOOD ( 13.77 ) 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.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sun6i-apb0.c b/drivers/clk/sunxi/clk-sun6i-apb0.c index 7076360..e703e18 100644 --- a/drivers/clk/sunxi/clk-sun6i-apb0.c +++ b/drivers/clk/sunxi/clk-sun6i-apb0.c @@ -61,6 +61,7 @@ static const struct of_device_id sun6i_a31_apb0_clk_dt_ids[] = { { .compatible = "allwinner,sun6i-a31-apb0-clk" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun6i_a31_apb0_clk_dt_ids); static struct platform_driver sun6i_a31_apb0_clk_driver = { .driver = {