From patchwork Wed Sep 16 21:00:17 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: 7199561 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 63210BEEC1 for ; Wed, 16 Sep 2015 21:02:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9358820809 for ; Wed, 16 Sep 2015 21:02:26 +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 8D89B207D7 for ; Wed, 16 Sep 2015 21:02:25 +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 1ZcJop-0003x4-DX; Wed, 16 Sep 2015 21:00:43 +0000 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcJom-0003VG-7P for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2015 21:00:40 +0000 Received: by wicfx3 with SMTP id fx3so2118858wic.0 for ; Wed, 16 Sep 2015 14:00:18 -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=EfR4emjBsF/scP0+P0BNGn8H8eKc1n0S3PkFNvYhXoU=; b=NEkvxKxeBu8z3JHgg/lReHmN1QOWjyC9rwYdndNPejOAgchhCuf6h/hanXBn4Q/6fG uZm7HX2u8zgPKgmG4iyt/Yfcbqgw+a6W9Uet7XfYOY4jK187U67KhFcB614dvWiKUEoD IvBIE61ciZUbFEI+yzSRmR5hmi9Ec5KyvYR6Or2jfj/Nckv35xbW4Bp1v+kplQlDGY6c 00WK70LVjFwK/qWmLQlHZn6cxELI7OFe6Bpe4Dm2Dl7DP6FQnilMoVsZeW+rsVVj7Xx+ xmEGDuplCKZYTBV8Zd/8qCA1isa84APKb/hKHDFFp43GPfxrKj94HKd+j1r+/oKGJuPM P7JA== X-Received: by 10.194.86.161 with SMTP id q1mr57322327wjz.18.1442437218633; Wed, 16 Sep 2015 14:00:18 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id fx2sm6354444wib.24.2015.09.16.14.00.17 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Sep 2015 14:00:18 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Wed, 16 Sep 2015 23:00:17 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 6/6] dmaengine: xilinx: Fix module autoload for OF platform driver Message-ID: <20150916210017.GA5933@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_140040_429369_1229AD4F X-CRM114-Status: GOOD ( 12.90 ) 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: linux-arm-kernel@lists.infradead.org, Srikanth Thokala , Vinod Koul , Michal Simek , Laurent Pinchart , Kedareswara rao Appana , dmaengine@vger.kernel.org, Dan Williams , Maxime Ripard , =?unknown-8bit?B?U8O2cmVu?= Brinkmann 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: Laurent Pinchart Acked-by: Moritz Fischer --- drivers/dma/xilinx/xilinx_vdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c index d8434d4..6f4b501 100644 --- a/drivers/dma/xilinx/xilinx_vdma.c +++ b/drivers/dma/xilinx/xilinx_vdma.c @@ -1349,6 +1349,7 @@ static const struct of_device_id xilinx_vdma_of_ids[] = { { .compatible = "xlnx,axi-vdma-1.00.a",}, {} }; +MODULE_DEVICE_TABLE(of, xilinx_vdma_of_ids); static struct platform_driver xilinx_vdma_driver = { .driver = {