]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: Remove obsolete r8a777x-ether platform_device_id entry
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Nov 2015 14:41:00 +0000 (15:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 21:48:17 +0000 (16:48 -0500)
commit9139cd1b779abf1c2c6cdfb630814382f92aef33
tree14a743d0b523dbdc9d476f8dca6c4d67f52b87c1
parent102170c58b922438297746afd01e23440f972441
sh_eth: Remove obsolete r8a777x-ether platform_device_id entry

Since commit 27b77dd712bdfd24 ("ARM: shmobile: bockw: remove legacy
board file and config"), R-Car Gen1 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 sh_eth_set_rate_r8a777x() and r8a777x_data by #ifdef CONFIG_OF,
as they're 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