From patchwork Fri Sep 18 17:09:51 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: 7219921 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 51410BEEC1 for ; Fri, 18 Sep 2015 17:12:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D8D62082D for ; Fri, 18 Sep 2015 17:12:04 +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 AF5BB20748 for ; Fri, 18 Sep 2015 17:12:03 +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 1ZczAv-0002HH-AW; Fri, 18 Sep 2015 17:10:17 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZczAs-0000ul-EH for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2015 17:10:15 +0000 Received: by wicgb1 with SMTP id gb1so40863953wic.1 for ; Fri, 18 Sep 2015 10:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=V6vzNFGgyu6EKo3KgmR0RGYgCO9l6ZDrtd2lvGlmOmA=; b=YsKEKM/lHzKOjh79HyrOUifljCtY11Bax6Ps6ziNnurEPoF2U0qkYA9hWCzGcCEbT1 ZSIYvCf2JShgSDtQt5sXPJXC03jUnEu+8NkyVp+qKKfCFcWiWln2ubAvmxrYSig1YCSn wCNC4ppuR+TXe9FLHMvgNOyN/0Ni5VqPeLWnr9zznLnzb7eq/+rTx1wtk+kDNx4bbpzp +/BdBePD14VTXKfPLwgWN9zLlOudEcTxefsQwZ6cA0cwNP+OHaO83o2KD3CofHuSd7Z3 Nd7l9XoCI06jhfSzl1MurMFjT/1YdkFxbJD6cpXaRY7OofKrw4UE2bywK+IF6IIf+tTN 8fNA== X-Received: by 10.180.85.103 with SMTP id g7mr16945385wiz.93.1442596192589; Fri, 18 Sep 2015 10:09:52 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id t7sm3120006wje.13.2015.09.18.10.09.51 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Sep 2015 10:09:52 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Fri, 18 Sep 2015 19:09:51 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 3/3] regulator: vexpress: Fix module autoload for OF platform driver Message-ID: <20150918170951.GA28327@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-20150918_101014_659457_DC0DBB16 X-CRM114-Status: GOOD ( 13.42 ) X-Spam-Score: -2.6 (--) 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: ". Lorenzo Pieralisi" , Liviu Dudau , Liam Girdwood , Mark Brown , Sudeep Holla , 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=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Acked-by: Liviu Dudau --- drivers/regulator/vexpress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c index bed9d3e..c810cbb 100644 --- a/drivers/regulator/vexpress.c +++ b/drivers/regulator/vexpress.c @@ -103,6 +103,7 @@ static const struct of_device_id vexpress_regulator_of_match[] = { { .compatible = "arm,vexpress-volt", }, { } }; +MODULE_DEVICE_TABLE(of, vexpress_regulator_of_match); static struct platform_driver vexpress_regulator_driver = { .probe = vexpress_regulator_probe,