ARM: pxa: enhance smc91x platform data
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 17 Oct 2016 19:45:29 +0000 (21:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 18:14:20 +0000 (14:14 -0400)
commit9a97434215819872b054c3d0c067e5e4fa768b0e
tree789fc82132440704ad22d83c9f6d3a148537f345
parentcd94e519dc5d82e2b8a0c93ebf09152727af5150
ARM: pxa: enhance smc91x platform data

Instead of having the smc91x driver relying on machine_is_*() calls,
provide this data through platform data, ie. idp, mainstone and
stargate.

This way, the driver doesn't need anymore machine_is_*() calls, which
wouldn't work anymore with a device-tree build.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/stargate2.c
include/linux/smc91x.h