X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Path: csiph.com!goblin3!goblin1!goblin.stu.neva.ru!proxad.net!feeder1-2.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.ecp.fr!aioe.org!bofh.it!news.nic.it!robomod From: Luis de Bethencourt Newsgroups: linux.kernel Subject: [PATCH] omapdss: acx565akm: Fix module autoload for OF platform driver Date: Fri, 18 Sep 2015 20:50:02 +0200 Message-ID: X-Original-To: linux-kernel@vger.kernel.org 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=dPNkclnJz/RcqooCBLX/uClbK7vyxmd5sfvh024jenQ=; b=jtKUE0NceEvIIpeqAAahhVnnTBpIlpviBztoGnhDX9YCP9iq7+/KWjzTvfnX9x0SM5 p4gjs1yVjt234cxLqTgJmCVrvADkGEgx+4KVBbFfFjFJkqNnvjEzA+JQ+DS6cmcQwGJd coT3ynj61a3S/Ylfemm1wEVCbE58mbaJQ1JoWNniGleHAT+QJcE2sRlHHktCPPqkmbkl 1SsVm+fQBSIOPU4U1in2y1G4+U3jWEd88N6C281eZU2HqbUL0y/ZL0Gv4a5J0bWKNZfx gh3M+yO+312Io3xuf0VAalE2ND1xCk/aJAjs4wZpMPifslAm5suq+EYUaQSoYiL8Odip R2rQ== X-Received: by 10.194.250.40 with SMTP id yz8mr10031675wjc.37.1442601898796; Fri, 18 Sep 2015 11:44:58 -0700 (PDT) X-Google-Original-From: Luis de Bethencourt MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway X-Original-Cc: Tomi Valkeinen , Jean-Christophe Plagniol-Villard , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org X-Original-Date: Fri, 18 Sep 2015 20:44:57 +0200 X-Original-Message-ID: <20150918184457.GA32636@goodgumbo.baconseed.org> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1228230 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 Thanks, Luis drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c b/drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c index 90cbc4c..c581231 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c @@ -898,6 +898,7 @@ static const struct of_device_id acx565akm_of_match[] = { { .compatible = "omapdss,sony,acx565akm", }, {}, }; +MODULE_DEVICE_TABLE(of, acx565akm_of_match); static struct spi_driver acx565akm_driver = { .driver = { -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/