[PATCH 1/2] ARM: shmobile: R8A7779: add Ether support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Apr 1 20:17:38 EDT 2013


Hi Sergei

> +void __init r8a7779_add_ether_device(void *pdata)
> +{
> +	ether_device.dev.platform_data = pdata;
> +
> +	platform_device_register(&ether_device);
> +}

Current ARM SoC is trying to not use platform_device_register()
Please use platform_device_register_xxx()
Same comment for [2/2]

Best regards
---
Kuninori Morimoto



More information about the linux-arm-kernel mailing list