]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: Remove obsolete r7s72100-ether platform_device_id entry
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Nov 2015 14:40:57 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 21:48:16 +0000 (16:48 -0500)
commit6d5e3219826163ce761a7fc4709997b58479921e
tree3c802658034f9a3cdec2f72cc07110df6ee46fff
parenta6922125050da2dc3c785b47e4ec43d852fad302
sh_eth: Remove obsolete r7s72100-ether platform_device_id entry

Since commit 298bfdfd766cdf33 ("ARM: shmobile: r7s72100: genmai: Remove
legacy board file"), r7s72100 is 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 r7s72100_data by #ifdef CONFIG_OF as it's now referenced on DT
platforms only. Move it to a more logical position, in front of the
r8a777x support, so we can have a single #ifdef covering all r7s* and
r8a* support soon. This requires moving a helper function, too.

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