From patchwork Wed Sep 16 20:58:53 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: 7199541 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 1770EBEEC1 for ; Wed, 16 Sep 2015 21:01:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52E69207D7 for ; Wed, 16 Sep 2015 21:01:20 +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 89367205ED for ; Wed, 16 Sep 2015 21:01:19 +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 1ZcJnS-0001Eu-Fz; Wed, 16 Sep 2015 20:59:18 +0000 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcJnQ-0000pi-0r for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2015 20:59:16 +0000 Received: by wiclk2 with SMTP id lk2so2060405wic.1 for ; Wed, 16 Sep 2015 13:58:54 -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=jsTZdIz6/DONJsOmAyQb9fqWZJA3TRPad+7Ev4EidL0=; b=oMUmm/pWs+/B/1/gqrFZy5ayWSEgHAhVRqHNBc9Ko0WnJ9RdPP8VuF8epvDXgv9fDy 7dELPAiGr1jXRXf21R3sI0TsrDh5+v8OoEsp/iDjgaNdbuXkgqryIRwOR6rPXXkUnlZE tZWU6L25Pc34tRdPI1d5QqAQDRsJpGdFiT8EFXK07sazD8qkBXhyB2SLQRY9MT1+VeLc 9zalbshAlbs8xd9zEKIzkhijMQZ46SvyBQJEgKv3sidMHQtDSl5adimgZpjImND1oO3b lh6NQ1K25DhDd3tcJTFh/a/gx62SrwzwOuUSitnIyetBhmA247WVyxS05DJz26zlQ4b/ v6aw== X-Received: by 10.180.240.172 with SMTP id wb12mr22635968wic.64.1442437134233; Wed, 16 Sep 2015 13:58:54 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id lh11sm6331426wic.18.2015.09.16.13.58.53 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Sep 2015 13:58:53 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Wed, 16 Sep 2015 22:58:53 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 4/6] dmaengine: sirf: Fix module autoload for OF platform driver Message-ID: <20150916205853.GA5871@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_135916_332198_2A60D76A X-CRM114-Status: GOOD ( 12.68 ) 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 , Barry Song , 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 --- drivers/dma/sirf-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c index 7d5598d..22ea241 100644 --- a/drivers/dma/sirf-dma.c +++ b/drivers/dma/sirf-dma.c @@ -1149,6 +1149,7 @@ static const struct of_device_id sirfsoc_dma_match[] = { { .compatible = "sirf,atlas7-dmac-v2", .data = &sirfsoc_dmadata_a7v2,}, {}, }; +MODULE_DEVICE_TABLE(of, sirfsoc_dma_match); static struct platform_driver sirfsoc_dma_driver = { .probe = sirfsoc_dma_probe,