net/faraday: Match driver according to compatible property
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 19 Jul 2016 01:54:24 +0000 (11:54 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 03:49:18 +0000 (20:49 -0700)
commitbb168e2e9e512e6b2cc3ebf6f2ca3fcb07180370
tree8d80579f77385192d9d7607a02046037cedb9ba0
parentbd466c3fb5a4ff862f805213d7821d8c6f92c382
net/faraday: Match driver according to compatible property

This matches the driver with devices compatible with "faraday,ftgmac100"
declared in the device tree. Originally, device's name from device
tree for it.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c