From: Stefan Roese Date: Thu, 13 Mar 2008 15:59:43 +0000 (+0100) Subject: NEWEMAC: Add compatible "ibm,tah" to tah matching table X-Git-Tag: v2.6.25-rc7~54^2~31 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=cdb346977829885cbd8b1200ca21049b1df242ad;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c index 96417adec32..b023d10d7e1 100644 --- a/drivers/net/ibm_newemac/tah.c +++ b/drivers/net/ibm_newemac/tah.c @@ -154,6 +154,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", },