From mboxrd@z Thu Jan 1 00:00:00 1970 From: aisheng.dong@freescale.com (Dong Aisheng) Date: Wed, 14 Mar 2012 14:55:13 +0800 Subject: [PATCH v1 2/5] mmc: mxs-mmc: add dt probe support In-Reply-To: <201203140658.25854.marek.vasut@gmail.com> References: <1331628428-24017-1-git-send-email-b29396@freescale.com> <1331628428-24017-3-git-send-email-b29396@freescale.com> <201203140658.25854.marek.vasut@gmail.com> Message-ID: <20120314065512.GB25735@shlinux2.ap.freescale.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 14, 2012 at 01:58:25PM +0800, Marek Vasut wrote: > Dear Dong Aisheng, > > > > > Signed-off-by: Dong Aisheng ........ > > +static const struct of_device_id mxs_mmc_dt_ids[] = { > > + { .compatible = "fsl,imx23-mmc", .data = NULL, }, > > + { .compatible = "fsl,imx28-mmc", .data = NULL, }, > > Do you really need two distinct ones here? > Hmm, my original purpose is to put soc difference data in .data to remove cpu_is_* function calls in the driver later. Do you think if any issue? Regards Dong Aisheng