On Fri, 20 Jul 2018 17:15:24 +0200 Miquel Raynal <miquel.raynal at bootlin.com> wrote: > + chip = &nand->chip; > + chip->controller = &ctrl->controller; > + chip->controller->ops = &tegra_nand_controller_ops; Should be moved next to the controller initialization.