From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hiroshi Doyu Subject: Re: [RFC] early init and DT platform devices allocation/registration Date: Wed, 26 Jun 2013 08:00:30 +0200 Message-ID: <20130626.090030.1519009485651154440.hdoyu@nvidia.com> References: <51C9AF96.3040107@wwwdotorg.org><20130625.193628.2143557800560690024.hdoyu@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org" Cc: "swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org" , "lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org" , "nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "Pawel.Moll-5wv7dgnIgG8@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org Grant Likely wrote @ Tue, 25 Jun 2013 19:52:33 +0200: > > Here's my workaround. I need to call of_detach_node() with OF_DYNAMIC > > to avoid duplicated device registration. > > Gah! my eyes! > > Don't do that. It is incredibly problematic. Look at inhibiting > duplicate device creation instead. I may not follow this thread correctly, but could anyone point out the above "inhibiting duplicate device creation" if there's already such solution?