[PATCH 1/2] ARM: pxa: ssp: provide platform_device_id for PXA3xx
Haojian Zhuang
haojian.zhuang at gmail.com
Wed Aug 13 19:08:51 PDT 2014
On Thu, Aug 14, 2014 at 3:59 AM, Daniel Mack <zonque at gmail.com> wrote:
> Provide an explicit match string for PXA3xx SSP ports.
>
> Signed-off-by: Daniel Mack <zonque at gmail.com>
> ---
> 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
More information about the linux-arm-kernel
mailing list