From patchwork Wed Sep 16 20:59:31 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: 7199551 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 017D99F54C for ; Wed, 16 Sep 2015 21:01:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39DB520809 for ; Wed, 16 Sep 2015 21:01:39 +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 6BE60207D7 for ; Wed, 16 Sep 2015 21:01:38 +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 1ZcJo5-0001uu-E8; Wed, 16 Sep 2015 20:59:57 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcJo2-0001Se-IL for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2015 20:59:55 +0000 Received: by wicge5 with SMTP id ge5so92085766wic.0 for ; Wed, 16 Sep 2015 13:59:32 -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=EWMc7FVDz+SS33ZgZkgXJ8S7haO8BdLzd24mszt+ilU=; b=Thz/B9b3bxwAKZtqpYVgML2dphrkVZ/A3vNK79MwgQ5Bj+WyrUyUtfbzLtFFBi+mCi BJyF8aQ4X60tubHgyivU3hqW/so0n45XljgcjhI/dHie476hZVbFYPAKyzdFwRAAj4a/ vXW9qF6HWmVxspG4/r8SDvDyUkAxkbr4hzGstsX0vuqA2/FLyXZxPrrLcbMHqzuA7DA6 yShIitcF4DIejKm7VeRxa7J2PnKsQcVGIJqyQ9jsale43PgMId+QlehPZn7gTd10/UNX hPf9jK0jX9inma5uIrF6+fMv8wu8deMPaaBqUyhwfkEM9GO111h8xrW/WJNMub+wc+fs CLKw== X-Received: by 10.180.206.83 with SMTP id lm19mr414961wic.63.1442437172208; Wed, 16 Sep 2015 13:59:32 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id mx19sm6374476wic.0.2015.09.16.13.59.31 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Sep 2015 13:59:31 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Wed, 16 Sep 2015 22:59:31 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 5/6] dmaengine: sun6i: Fix module autoload for OF platform driver Message-ID: <20150916205931.GA5882@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-20150916_135954_763507_7E19BAB3 X-CRM114-Status: GOOD ( 12.64 ) 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: Vinod Koul , dmaengine@vger.kernel.org, Dan Williams , Maxime Ripard , 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: Maxime Ripard --- drivers/dma/sun6i-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/sun6i-dma.c index 73e0be6..2db12e4 100644 --- a/drivers/dma/sun6i-dma.c +++ b/drivers/dma/sun6i-dma.c @@ -908,6 +908,7 @@ static const struct of_device_id sun6i_dma_match[] = { { .compatible = "allwinner,sun8i-h3-dma", .data = &sun8i_h3_dma_cfg }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sun6i_dma_match); static int sun6i_dma_probe(struct platform_device *pdev) {