From patchwork Fri Aug 28 12:43:54 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: 7091711 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 6AF0FBEEC1 for ; Fri, 28 Aug 2015 12:46:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8869B20828 for ; Fri, 28 Aug 2015 12:46:45 +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 B2F2A20817 for ; Fri, 28 Aug 2015 12:46:44 +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 1ZVJ1S-0000IK-NQ; Fri, 28 Aug 2015 12:44:46 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ0y-0007sG-Oy for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 12:44:17 +0000 Received: by wibcx1 with SMTP id cx1so13459816wib.1 for ; Fri, 28 Aug 2015 05:43:55 -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=u3rMOTa3cK2as0VcdPdbXD3SkZHuDWzaWJnSyw3ltZU=; b=LTFQ1UM51NJ2gPQNX0ivnLXzGsEWD/fmlMcaG+t55XFeGUFALn4DbVw/aKSq+wW6rg LV8uluVBW8b5g8WTsezwaVJ7jqVHi5BEaehAzwteeUq7/ED5qW219UR547dr4LGX/A8D ZMGisNgUvOmKzvDGAF+WqmRgRRjtrtwJIeq482IXCdk8Gpo6IY+HAO932g8rMW7vYlPI P5mlghidF9Y5j4g6guRwo33ejTv9NzQY7G9cP8uGRJVtRHMTbB7HnvLjtVvz4TEww9By vR2b8TSKI69btwixqSqcCcRfKoa1UGPTjxKl5piHU2K3Exxx72LeQ9ZQMD2JqMk0fjbU Vm+Q== X-Received: by 10.180.90.65 with SMTP id bu1mr4531222wib.0.1440765835234; Fri, 28 Aug 2015 05:43:55 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id jr5sm7918598wjc.14.2015.08.28.05.43.54 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 05:43:54 -0700 (PDT) Date: Fri, 28 Aug 2015 14:43:54 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 3/5] clk: sunxi: sun6i-ar100: Fix module autoload for OF platform driver Message-ID: <20150828124354.GA26610@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_054417_103629_211FBEF4 X-CRM114-Status: GOOD ( 12.68 ) 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-ar100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c index 63cf149..40828fb 100644 --- a/drivers/clk/sunxi/clk-sun6i-ar100.c +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c @@ -219,6 +219,7 @@ static const struct of_device_id sun6i_a31_ar100_clk_dt_ids[] = { { .compatible = "allwinner,sun6i-a31-ar100-clk" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun6i_a31_ar100_clk_dt_ids); static struct platform_driver sun6i_a31_ar100_clk_driver = { .driver = {