From mboxrd@z Thu Jan 1 00:00:00 1970 From: cbouatmailru@gmail.com (Anton Vorontsov) Date: Wed, 13 Jul 2011 20:28:12 +0400 Subject: [PATCH v3 4/4] mmc: sdhci-esdhc-imx: add device tree probe support In-Reply-To: <20110713110940.460a7966@schlenkerla.am.freescale.net> References: <1309970870-13336-1-git-send-email-shawn.guo@linaro.org> <1309970870-13336-5-git-send-email-shawn.guo@linaro.org> <20110706210518.GD5371@ponder.secretlab.ca> <20110713155212.GB7875@oksana.dev.rtsoft.ru> <20110713110940.460a7966@schlenkerla.am.freescale.net> Message-ID: <20110713162812.GA7764@oksana.dev.rtsoft.ru> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 13, 2011 at 11:09:40AM -0500, Scott Wood wrote: [...] > > - You can't automatically convert named resources into 'struct > > resource *', as we do for platform devices now; > > So add named resource support to platform devices. :-) There are surely no technical difficulties, it's more about 'type safety', and as a consequence -- resources being discoverable. If we want to use named resources, I think we should explicitly reserve the *-{regs,interrupts,gpios} suffixes for such purposes. And once such a reservation is done, we're safe again -- resources become discoverable. Thanks, -- Anton Vorontsov Email: cbouatmailru at gmail.com