From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kiutl.biot.com ([31.172.244.210]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YqjHs-00021T-J9 for linux-mtd@lists.infradead.org; Fri, 08 May 2015 14:30:01 +0000 Received: from spamd by kiutl.biot.com with sa-checked (Exim 4.83) (envelope-from ) id 1YqjHR-000170-Re for linux-mtd@lists.infradead.org; Fri, 08 May 2015 16:29:34 +0200 Message-ID: <554CC847.6020004@biot.com> Date: Fri, 08 May 2015 16:29:27 +0200 From: Bert Vermeulen MIME-Version: 1.0 To: Frans Klaver Subject: Re: [PATCH v2] nand: Add NAND driver for Mikrotik RB4xx series boards References: <1431001910-4004-1-git-send-email-bert@biot.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, Brian Norris , David Woodhouse , "linux-kernel@vger.kernel.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/08/2015 12:14 PM, Frans Klaver wrote: > On Thu, May 7, 2015 at 2:31 PM, Bert Vermeulen wrote: >> + >> + info->chip.priv = info; >> + info->mtd.priv = &info->chip; >> + info->mtd.owner = THIS_MODULE; > > If you should respin, could you add > > info->mtd.dev.parent = &pdev->dev; > > This will have a symlink to the parent device show up in sysfs. Seems > some people feel rather strongly about that. Sure, will do. I'll wait for some comment from David Woodhouse or Brian Norris first, in case there's something more substantial to fix as well. -- Bert Vermeulen bert@biot.com email/xmpp