From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbbJDQYU (ORCPT ); Sun, 4 Oct 2015 12:24:20 -0400 Received: from lists.s-osg.org ([54.187.51.154]:47283 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775AbbJDQYR (ORCPT ); Sun, 4 Oct 2015 12:24:17 -0400 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, arm@kernel.org, scottwood@freescale.com, wsa@the-dreams.de, ssantosh@kernel.org, Luis de Bethencourt Subject: [RESEND PATCH 2/2] memory: ti-aemif: Fix module autoload for OF platform driver Date: Sun, 4 Oct 2015 17:23:49 +0100 Message-Id: <1443975829-8049-3-git-send-email-luisbg@osg.samsung.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1443975829-8049-1-git-send-email-luisbg@osg.samsung.com> References: <1443975829-8049-1-git-send-email-luisbg@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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/memory/ti-aemif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c index ca7d97a..a579a0f 100644 --- a/drivers/memory/ti-aemif.c +++ b/drivers/memory/ti-aemif.c @@ -324,6 +324,7 @@ static const struct of_device_id aemif_of_match[] = { { .compatible = "ti,da850-aemif", }, {}, }; +MODULE_DEVICE_TABLE(of, aemif_of_match); static int aemif_probe(struct platform_device *pdev) { -- 2.5.1