From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH v4 32/35] mtd: rawnand: tegra: convert driver to nand_scan() Date: Sun, 22 Jul 2018 11:31:06 +0200 Message-ID: <20180722113106.45c11ecb@bbrezillon> References: <20180720151527.16038-1-miquel.raynal@bootlin.com> <20180720151527.16038-33-miquel.raynal@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180720151527.16038-33-miquel.raynal@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org To: Miquel Raynal Cc: Wenyou Yang , Josh Wu , Tudor Ambarus , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Nicolas Ferre , Alexandre Belloni , Kamal Dasu , Masahiro Yamada , Han Xu , Harvey Hunt , Vladimir Zapolskiy , Sylvain Lemieux , Xiaolei Li , Matthias Brugger , Maxime Ripard , Chen-Yu Tsai List-Id: linux-mediatek@lists.infradead.org On Fri, 20 Jul 2018 17:15:24 +0200 Miquel Raynal wrote: > + chip = &nand->chip; > + chip->controller = &ctrl->controller; > + chip->controller->ops = &tegra_nand_controller_ops; Should be moved next to the controller initialization.