Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754463AbbK3V2y (ORCPT ); Mon, 30 Nov 2015 16:28:54 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:51729 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753836AbbK3V2R (ORCPT ); Mon, 30 Nov 2015 16:28:17 -0500 Message-ID: <1448918893.3890.45.camel@pengutronix.de> Subject: Re: [RESEND] drm: imx: imx-tve: Fix module autoload for OF platform driver From: Philipp Zabel To: Luis de Bethencourt Cc: linux-kernel@vger.kernel.org, airlied@linux.ie, dri-devel@lists.freedesktop.org, akpm@linux-foundation.org Date: Mon, 30 Nov 2015 22:28:13 +0100 In-Reply-To: <1448895764-10710-1-git-send-email-luisbg@osg.samsung.com> References: <1448895764-10710-1-git-send-email-luisbg@osg.samsung.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:96de:80ff:fec2:9969 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 41 Hi Luis, thanks for the reminder. Am Montag, den 30.11.2015, 15:02 +0000 schrieb Luis de Bethencourt: > 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 > --- > > Hi, > > This is a resend of a patch from October 20th [0] Sorry to have missed it, I was in the middle of a vacation then. I've applied it to my fixes branch now. > I am adding Andrew Morton to the CC list as was recommended at the Korea Linux > Forum. > > 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 > A multitude of similar patches have been merged for other drivers, search > the git log for "module autoload for OF platform driver". > > Thanks, > Luis regards Philipp -- 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/