From mboxrd@z Thu Jan 1 00:00:00 1970 From: haojian.zhuang@gmail.com (Haojian Zhuang) Date: Thu, 14 Aug 2014 10:08:51 +0800 Subject: [PATCH 1/2] ARM: pxa: ssp: provide platform_device_id for PXA3xx In-Reply-To: <1407959959-4977-1-git-send-email-zonque@gmail.com> References: <1407959959-4977-1-git-send-email-zonque@gmail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Aug 14, 2014 at 3:59 AM, Daniel Mack wrote: > Provide an explicit match string for PXA3xx SSP ports. > > Signed-off-by: Daniel Mack > --- > arch/arm/plat-pxa/ssp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c > index 3ea0290..1f5ee17 100644 > --- a/arch/arm/plat-pxa/ssp.c > +++ b/arch/arm/plat-pxa/ssp.c > @@ -258,6 +258,7 @@ static const struct platform_device_id ssp_id_table[] = { > { "pxa25x-ssp", PXA25x_SSP }, > { "pxa25x-nssp", PXA25x_NSSP }, > { "pxa27x-ssp", PXA27x_SSP }, > + { "pxa3xx-ssp", PXA3xx_SSP }, > { "pxa168-ssp", PXA168_SSP }, > { "pxa910-ssp", PXA910_SSP }, > { }, > -- > 2.0.4 > I don't agree on this. SSP1,SSP2,SSP3 on pxa3xx are same with pxa27x. So we reuse the name. For the new SSP4, we create pxa3xx_device_ssp4. We just want to reuse these code. Regards Haojian