From patchwork Mon Feb 22 01:26:36 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: 8370071 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 B4DCC9F52D for ; Mon, 22 Feb 2016 01:49:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF22420351 for ; Mon, 22 Feb 2016 01:49:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9B96203AB for ; Mon, 22 Feb 2016 01:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752383AbcBVBta (ORCPT ); Sun, 21 Feb 2016 20:49:30 -0500 Received: from yotta.elopez.com.ar ([185.83.216.59]:56754 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbcBVBt0 (ORCPT ); Sun, 21 Feb 2016 20:49:26 -0500 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=jP7MjpEcRCsvsdqU0Fp2F0ltDsY1x3EhVrFivZWnNOY=; b=X0ouQZ+ux6Y3I41yXb706ApNRm NX5VpXpKfCeI7tag4n6aDhITawM5bAaJcTlUbchaz79vSTuBxZGmLsQ1QNQ7YJqVmbL/UWheCc7ma 1NpUQh+XgHmSaxEjqk4cgmXxjveqPXpzoC65GRLJQ9W8PjYyMpnMw+ovzdptfiwvEXMuk2SoFZKg6 dLITU0paMsnOXDpLO13eRsu+C7OjcIqT99ZJurweAimvEtjbqBSDd5sxGIYrH9in4MUGStkP5C93B vFcXWwRGFwPOL67magtprgkJ8uZxhdbMFu0gtRfb1PvIeu86byz11oAw3zz15HkNv+qqgwsn1OsJT UEzUKoIQ==; 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 1aXfHP-000523-As; Sun, 21 Feb 2016 22:27:16 -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 3/3] usb: musb: sunxi: support module autoloading Date: Sun, 21 Feb 2016 22:26:36 -0300 Message-Id: <1456104396-13282-3-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=unavailable 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 sunxi systems using the OTG controller. This commit adds the missing line so it loads automatically when building it as a module and running on a system with an USB OTG port. Signed-off-by: Emilio López Reviewed-by: Javier Martinez Canillas --- drivers/usb/musb/sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c index d9b0dc4..fdab423 100644 --- a/drivers/usb/musb/sunxi.c +++ b/drivers/usb/musb/sunxi.c @@ -752,6 +752,7 @@ static const struct of_device_id sunxi_musb_match[] = { { .compatible = "allwinner,sun8i-a33-musb", }, {} }; +MODULE_DEVICE_TABLE(of, sunxi_musb_match); static struct platform_driver sunxi_musb_driver = { .probe = sunxi_musb_probe,