From patchwork Fri Sep 18 15:54:00 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: 519422 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4F47F141117 for ; Sat, 19 Sep 2015 01:54:23 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rGpK4ywq; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754664AbbIRPyF (ORCPT ); Fri, 18 Sep 2015 11:54:05 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:37575 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754607AbbIRPyD (ORCPT ); Fri, 18 Sep 2015 11:54:03 -0400 Received: by wicfx3 with SMTP id fx3so36590569wic.0; Fri, 18 Sep 2015 08:54:01 -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=S/lzkQMCfA8DGjtZ7OD1plz/0843nlurIOxStO5T7SM=; b=rGpK4ywq09K33mQtKtpWZRL5DCH0E+wme59tqkXSp+UOfJrdCMLKg15witC+3hiddJ XQsKpxj3VawsppQisPqbs7CooMSWQeFnsgvFx6z/R8JSao09UVfunomQqe4ptEA3DZ2h SQd+wqTtniKlXMItEUTpfdUEkgnnE/tKqa59icOzJ6GNzB8mgR5EfxJOXFVmH4iri1IO whEHJ9vRJsUU6egvebDD0ggoLdxRjtYqiX730vD1WqG9oZnyJqS5QbTmCO3dlv3Dzydk l6R8/1SphZCA/LeS2haOx/6gARfppmxPK0afsOoRrcSY/b63cmO2w8fkMzpIP/rHym9H zw+g== X-Received: by 10.180.91.6 with SMTP id ca6mr16601053wib.47.1442591641674; Fri, 18 Sep 2015 08:54:01 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id bi6sm9522614wjc.25.2015.09.18.08.54.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Sep 2015 08:54:01 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Fri, 18 Sep 2015 17:54:00 +0200 To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Subject: [PATCH 1/6] net: arc: Fix module autoload for OF platform driver Message-ID: <20150918155400.GA24716@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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/net/ethernet/arc/emac_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/arc/emac_arc.c b/drivers/net/ethernet/arc/emac_arc.c index f9cb99b..ffd1805 100644 --- a/drivers/net/ethernet/arc/emac_arc.c +++ b/drivers/net/ethernet/arc/emac_arc.c @@ -78,6 +78,7 @@ static const struct of_device_id emac_arc_dt_ids[] = { { .compatible = "snps,arc-emac" }, { /* Sentinel */ } }; +MODULE_DEVICE_TABLE(of, emac_arc_dt_ids); static struct platform_driver emac_arc_driver = { .probe = emac_arc_probe,