]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite30c077eae98bfb4017a00102fa515a4290bb662
treed30106103e77ca6f22ea85dffd6dd1f4ec6384b7
parent6d5e3219826163ce761a7fc4709997b58479921e
sh_eth: Remove obsolete r8a779x-ether platform_device_id entries

Since commit c38920894862defd ("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