From patchwork Fri Aug 28 12:44:32 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: 7091731 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 4F4909F22E for ; Fri, 28 Aug 2015 12:47:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7140820817 for ; Fri, 28 Aug 2015 12:47:03 +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 A90C320838 for ; Fri, 28 Aug 2015 12:47:02 +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 1ZVJ1u-00022x-Rq; Fri, 28 Aug 2015 12:45:14 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVJ1b-0008Uv-Fl for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 12:44:56 +0000 Received: by wicfv10 with SMTP id fv10so10971669wic.0 for ; Fri, 28 Aug 2015 05:44:34 -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=qhuzTMZrTthxqd7femYQyMi+Wk5P/LPXjq0HPsXF9KY=; b=fQrGVHf0JDJvzOOSP1yaOPlH7OqcaXx8OwfxPXLmuBqwK3SmzgsxaX6FK59wNn5t/5 efG4S224YDLht0gJtVujUZazBgdRn9tE/NxHi4Fob6T75jd3+rIWIEloVscKYiFMjxjg sORYl9yeJKtx/e2HlsAEH5xscLYQ9SG1tKvOnXbvxerI5RZQwdHECpAwdQhJK7fWNCh7 /Wapu95YaT2v2Zfh1laHsOp4tg3JNcmQ7YGYkV12sS1+Iwezm51vODDev2lBjjxh1era dWkFtsATA+Rd8bOliY6mrcvmnW2Jn3qprMZw9YKA4tALKcdAVg+ikLb6tDlftcAJGh4q 9e7A== X-Received: by 10.194.184.232 with SMTP id ex8mr11501568wjc.42.1440765873937; Fri, 28 Aug 2015 05:44:33 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id wo2sm7928555wjb.2.2015.08.28.05.44.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Aug 2015 05:44:33 -0700 (PDT) Date: Fri, 28 Aug 2015 14:44:32 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 5/5] clk: sunxi: sun9i-mmc: Fix module autoload for OF platform driver Message-ID: <20150828124432.GA26670@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_054456_196304_6B6CDE15 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-sun9i-mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sun9i-mmc.c b/drivers/clk/sunxi/clk-sun9i-mmc.c index 710c273..7618b13 100644 --- a/drivers/clk/sunxi/clk-sun9i-mmc.c +++ b/drivers/clk/sunxi/clk-sun9i-mmc.c @@ -203,6 +203,7 @@ static const struct of_device_id sun9i_a80_mmc_config_clk_dt_ids[] = { { .compatible = "allwinner,sun9i-a80-mmc-config-clk" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun9i_a80_mmc_config_clk_dt_ids); static struct platform_driver sun9i_a80_mmc_config_clk_driver = { .driver = {