From patchwork Mon Feb 22 01:26:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 8369951 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 4B2529F2F0 for ; Mon, 22 Feb 2016 01:31:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7376A203AB for ; Mon, 22 Feb 2016 01:31: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 031112038A for ; Mon, 22 Feb 2016 01:31: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 1aXfHv-0002X7-5j; Mon, 22 Feb 2016 01:27:47 +0000 Received: from yotta.elopez.com.ar ([2a02:2ca0:aaa:d00d:c0de:4:f00d:cafe]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXfHj-0002TG-Ft for linux-arm-kernel@lists.infradead.org; Mon, 22 Feb 2016 01:27:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=fxBZEf0DjHOrHNIdMVVV1wKVhWFjFeGET/ekpb5Vc60=; b=FLAECsx6plXjye/ue+dubkaI5y Me3+raO+BgWJU7rFoL9VK0zkqQioU+Hv1Llb5d75QPMJRfswbUDjECOUcA2V1yY6VJcc/HziCwTfm oyWsXvhoWhlqI1ehgrrXicaTLq8CWwf5EmfiO3USfSLAjvvSzkgyYqek2hVR4Up6FAWO63+xtM+yf 3/DHLxmYnIOAJQsA9jMRDn/idbf00FmZEgFKn2wsUxKMZ7wO2R6ZllTMvvFG1a/nh5dFsz3u9UG5+ zsrgZx+vHojV3+GcuUu1dgf8CdqQyxd5V1xESJQwCnn6EhVOf/7lFwg2H8eaFgmanvSKQNWDXjLpC rMfKAn5A==; Received: from 201-212-134-26.cab.prima.net.ar ([201.212.134.26] helo=desktop.lan) by yotta.elopez.com.ar with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.86) id 1aXfHH-000523-91; Sun, 21 Feb 2016 22:27:07 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: vinod.koul@intel.com, maxime.ripard@free-electrons.com, wens@csie.org, mchehab@osg.samsung.com, balbi@kernel.org, hdegoede@redhat.com Subject: [PATCH 2/3] dmaengine: sun4i: support module autoloading Date: Sun, 21 Feb 2016 22:26:35 -0300 Message-Id: <1456104396-13282-2-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456104396-13282-1-git-send-email-emilio@elopez.com.ar> References: <1456104396-13282-1-git-send-email-emilio@elopez.com.ar> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160221_172735_863072_29938E5C X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) 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: dmaengine@vger.kernel.org, =?UTF-8?q?Emilio=20L=C3=B3pez?= , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.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,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 From: Emilio López MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on supported systems. This commit adds the missing line so it loads automatically when building it as a module and running on a system with the early sunxi DMA engine. Signed-off-by: Emilio López Reviewed-by: Javier Martinez Canillas --- drivers/dma/sun4i-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sun4i-dma.c b/drivers/dma/sun4i-dma.c index 1661d518..e0df233 100644 --- a/drivers/dma/sun4i-dma.c +++ b/drivers/dma/sun4i-dma.c @@ -1271,6 +1271,7 @@ static const struct of_device_id sun4i_dma_match[] = { { .compatible = "allwinner,sun4i-a10-dma" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, sun4i_dma_match); static struct platform_driver sun4i_dma_driver = { .probe = sun4i_dma_probe,