From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:34134 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751991AbdFLIzj (ORCPT ); Mon, 12 Jun 2017 04:55:39 -0400 Subject: Patch "mtd: nand: tango: Export OF device ID table as module aliases" has been added to the 4.11-stable tree To: andresgalacho@gmail.com, boris.brezillon@free-electrons.com, computersforpeace@gmail.com, gregkh@linuxfoundation.org Cc: , From: Date: Mon, 12 Jun 2017 10:55:24 +0200 Message-ID: <149725772412923@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled mtd: nand: tango: Export OF device ID table as module aliases to the 4.11-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mtd-nand-tango-export-of-device-id-table-as-module-aliases.patch and it can be found in the queue-4.11 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 2761b4f12b017f6d3e5add386733a700a490df47 Mon Sep 17 00:00:00 2001 From: Andres Galacho Date: Mon, 1 May 2017 16:30:15 -0400 Subject: mtd: nand: tango: Export OF device ID table as module aliases From: Andres Galacho commit 2761b4f12b017f6d3e5add386733a700a490df47 upstream. The device table is required to load modules based on modaliases. After adding MODULE_DEVICE_TABLE, below entries for example will be added to module.alias: alias: of:N*T*Csigma,smp8758-nandC* alias: of:N*T*Csigma,smp8758-nand Fixes: 6956e2385a16 ("mtd: nand: add tango NAND flash controller support") Signed-off-by: Andres Galacho Acked-by: Brian Norris Signed-off-by: Boris Brezillon Signed-off-by: Greg Kroah-Hartman --- drivers/mtd/nand/tango_nand.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/mtd/nand/tango_nand.c +++ b/drivers/mtd/nand/tango_nand.c @@ -661,6 +661,7 @@ static const struct of_device_id tango_n { .compatible = "sigma,smp8758-nand" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, tango_nand_ids); static struct platform_driver tango_nand_driver = { .probe = tango_nand_probe, Patches currently in stable-queue which might be from andresgalacho@gmail.com are queue-4.11/mtd-nand-tango-export-of-device-id-table-as-module-aliases.patch