From: Luis de Bethencourt Subject: Re: [PATCH] ata: pata_macio: Fix module autoload for OF platform driver Date: Tue, 15 Sep 2015 18:35:12 +0200 Message-ID: <20150915163512.GA5300@goodgumbo.baconseed.org> References: <20150915154552.GA3060@goodgumbo.baconseed.org> <20150915155210.GG2905@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:35059 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbbIOQfP (ORCPT ); Tue, 15 Sep 2015 12:35:15 -0400 Content-Disposition: inline In-Reply-To: <20150915155210.GG2905@mtj.duckdns.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org On Tue, Sep 15, 2015 at 11:52:10AM -0400, Tejun Heo wrote: > On Tue, Sep 15, 2015 at 05:45:52PM +0200, Luis de Bethencourt wrote: > > 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 > > --- > > > > Hello, > > > > This patch adds the missing MODULE_DEVICE_TABLE() for OF to export > > that information so modules have the correct aliases built-in and > > autoloading works correctly. > > > > A longer explanation by Javier Canillas can be found here: > > https://lkml.org/lkml/2015/7/30/519 > > Can you please include that in the patch description? Or at least add > Link: tag? Also, should this be routed through -stable? > > Thanks. > > -- > tejun Tejun, Sent a second version. Thank you very much for the review, Luis