From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752224AbeBPSb4 (ORCPT ); Fri, 16 Feb 2018 13:31:56 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:59145 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbeBPSby (ORCPT ); Fri, 16 Feb 2018 13:31:54 -0500 Date: Fri, 16 Feb 2018 19:31:52 +0100 From: Boris Brezillon To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, David Lechner , Bartosz Golaszewski Subject: Re: [PATCH 1/6] nand: davinci: rename the platform driver Message-ID: <20180216193152.7dc34d1b@bbrezillon> In-Reply-To: <20180216164712.25898-2-brgl@bgdev.pl> References: <20180216164712.25898-1-brgl@bgdev.pl> <20180216164712.25898-2-brgl@bgdev.pl> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bartosz Prefix should be "mtd: nand: davinci:" On Fri, 16 Feb 2018 17:47:07 +0100 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Commit d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock > lookup table") broke the nand support in board file mode for > da850-based boards. Instead of reverting it and breaking the DT users > in the process (due to clock lookup), rename the driver to match the > clock table before renaming the users. > > Fixes: d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock lookup table") You probably want Cc: here. > Signed-off-by: Bartosz Golaszewski > --- > drivers/mtd/nand/davinci_nand.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c > index ccc8c43abcff..4fb143bf1872 100644 > --- a/drivers/mtd/nand/davinci_nand.c > +++ b/drivers/mtd/nand/davinci_nand.c > @@ -865,7 +865,7 @@ static struct platform_driver nand_davinci_driver = { > .probe = nand_davinci_probe, > .remove = nand_davinci_remove, > .driver = { > - .name = "davinci_nand", > + .name = "davinci-nand", And by doing that you're breaking C board files which are using the name with an underscore. > .of_match_table = of_match_ptr(davinci_nand_of_match), > }, > }; Regards, Boris -- Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com