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: 585898 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5B623140BFD for ; Mon, 22 Feb 2016 12:31:34 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=elopez.com.ar header.i=@elopez.com.ar header.b=X0ouQZ+u; dkim-atps=neutral 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 1aXfID-0002ZR-RY; Mon, 22 Feb 2016 01:28:05 +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 1aXfHm-0002Tp-Fd for linux-arm-kernel@lists.infradead.org; Mon, 22 Feb 2016 01:27:39 +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=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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160221_172738_829233_C65BB123 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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,