sh_eth: Remove obsolete r8a779x-ether platform_device_id entries
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Nov 2015 14:40:58 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 21:48:16 +0000 (16:48 -0500)
commitc74a2248f937d857a98e927f3e3c56d3dde61e14
treed30106103e77ca6f22ea85dffd6dd1f4ec6384b7
parent99f84be60ab1d0a89fd4215678dbc7f0392e558c
sh_eth: Remove obsolete r8a779x-ether platform_device_id entries

Since commit a483dcbfa21f919c ("ARM: shmobile: lager: Remove legacy
board support"), R-Car Gen2 SoCs are only supported in generic DT-only
ARM multi-platform builds.  The driver doesn't need to match platform
devices by name anymore, hence remove the corresponding
platform_device_id entry.

Protect r8a779x_data by #ifdef CONFIG_OF as it's now referenced on DT
platforms only.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c