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: 8370021 Return-Path: X-Original-To: patchwork-dmaengine@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 28CB39F52D for ; Mon, 22 Feb 2016 01:49:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54EEE203AB for ; Mon, 22 Feb 2016 01:49:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E29D20351 for ; Mon, 22 Feb 2016 01:49:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752537AbcBVBtV (ORCPT ); Sun, 21 Feb 2016 20:49:21 -0500 Received: from yotta.elopez.com.ar ([185.83.216.59]:56746 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbcBVBtV (ORCPT ); Sun, 21 Feb 2016 20:49:21 -0500 X-Greylist: delayed 1303 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Feb 2016 20:49:20 EST 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 Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-usb@vger.kernel.org, =?UTF-8?q?Emilio=20L=C3=B3pez?= 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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,