net: NEWEMAC: Add compatible "ibm,tah" to tah matching table
Subsystems (2)
PATCH 1/1 net: NEWEMAC: Add compatible "ibm,tah" to tah matching table
Add "ibm,tah" to the compatible matching table of the ibm_newemac tah driver. The type "tah" is still preserved for compatibility reasons. New dts files should use the compatible property though.
Signed-off-by Stefan Roese <[email protected]>
--- drivers/net/ibm_newemac/tah.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/net/ibm_newemac/tah.c +4 -0
@@ -155,6 +155,10 @@ static int __devexit tah_remove(struct of_device *ofdev)static struct of_device_id tah_match[] = { { + .compatible ="ibm,tah" , + }, +/* For backward compat with old DT */ + { .type ="tah" , }, {},
Signature · 1 line
1.5.4.4
Jeff Garzik
AppliedQuoted 8 lines · Stefan Roese
Add "ibm,tah" to the compatible matching table of the
ibm_newemactah driver. The type "tah" is still preserved for compatibility reasons. New dts files should use the compatible property though.Signed-off-by Stefan Roese <[email protected]>--- drivers/net/ibm_newemac/tah.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
applied