]> git.baikalelectronics.ru Git - kernel.git/commit
Convert smsc911x to use ACPI as well as DT
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 12 Aug 2015 22:06:27 +0000 (17:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2015 23:58:29 +0000 (16:58 -0700)
commit9d2c8233eb33897d22f00453cd75cc4bc2d2c6b4
treebfb4449c25e1eb65e7c54222825a109bc07fb25f
parent321ff92f1e3a0de7ef294b656f53d33fd7e61702
Convert smsc911x to use ACPI as well as DT

Add ACPI bindings for the smsc911x driver. Convert the DT specific calls
to nonspecific device* calls, This allows the driver to work
with both ACPI and DT configurations. Ethernet should now work when using
ACPI on ARM Juno.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c