diff options
author | Stefan Roese <sr@denx.de> | 2008-03-13 16:59:43 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 08:06:44 -0400 |
commit | cdb346977829885cbd8b1200ca21049b1df242ad (patch) | |
tree | 6d0eef504f5d440bb3ba055ce2979276505c8523 /drivers | |
parent | 10d0f27c1baa4a094b4965708a15f2b0c4d65f5e (diff) | |
download | linux-3.10-cdb346977829885cbd8b1200ca21049b1df242ad.tar.gz linux-3.10-cdb346977829885cbd8b1200ca21049b1df242ad.tar.bz2 linux-3.10-cdb346977829885cbd8b1200ca21049b1df242ad.zip |
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 <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ibm_newemac/tah.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -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", }, {}, |