From patchwork Fri Sep 18 18:22:26 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: 7220231 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 BBA389F32B for ; Fri, 18 Sep 2015 18:24:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E315A208BB for ; Fri, 18 Sep 2015 18:24:23 +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 07219208B1 for ; Fri, 18 Sep 2015 18:24:23 +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 1Zd0JA-0000fm-Lp; Fri, 18 Sep 2015 18:22:52 +0000 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zd0J7-0000Tm-2y for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2015 18:22:49 +0000 Received: by wicge5 with SMTP id ge5so43550710wic.0 for ; Fri, 18 Sep 2015 11:22:27 -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=UuonAzSUpiq1mHZE+bMmByYXIDerC+9KsjkL6D5tyhc=; b=XLFsajx1VZ6KNMKrXHgB9tcls2BmX/BHyXkal4bBlYWmxMlRXyDIGTq4AIlsmDUzel Wewa0KMV/1bKVRiAssq/SS6vCKgKm4RZUjKAxS7bUwKRRfKrTjNsRNjP3p848peGeVo7 YEn8cPS4XOfwuT6m+t168LpnBBkCi/QYN/5TkPdJxW14zhxukcMskjh4GHq3vFAhNxTg YVuej/1Ass4cPyQdYXqyl8x4KXwVEz3rX4LsFSzsCewBvvawFZ5AVIQ3S47NyyccB2vX HZxv59C0ef8qWNreV+bnnJlbyuuHGPa9NrgQ9isUN7QeI0Q6r69Elo76MCkMZCG8xWIv VsOQ== X-Received: by 10.194.185.100 with SMTP id fb4mr8485610wjc.19.1442600547407; Fri, 18 Sep 2015 11:22:27 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id kj5sm10092707wjb.19.2015.09.18.11.22.26 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Sep 2015 11:22:26 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Fri, 18 Sep 2015 20:22:26 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 4/4] usb: host: uhci-platform: Fix module autoload for OF platform driver Message-ID: <20150918182226.GA31658@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-20150918_112249_310798_00C61FA0 X-CRM114-Status: GOOD ( 11.81 ) 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: Tony Prisk , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Alan Stern , linux-arm-kernel@lists.infradead.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, 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 --- drivers/usb/host/uhci-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 3a3e3ee..32a6f3d 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c @@ -140,6 +140,7 @@ static const struct of_device_id platform_uhci_ids[] = { { .compatible = "platform-uhci", }, {} }; +MODULE_DEVICE_TABLE(of, platform_uhci_ids); static struct platform_driver uhci_platform_driver = { .probe = uhci_hcd_platform_probe,