diff options
author | Stefan Roese <sr@denx.de> | 2008-03-13 18:59:43 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 15:06:44 +0300 |
commit | cdb346977829885cbd8b1200ca21049b1df242ad (patch) | |
tree | 6d0eef504f5d440bb3ba055ce2979276505c8523 /drivers | |
parent | 10d0f27c1baa4a094b4965708a15f2b0c4d65f5e (diff) | |
download | linux-cdb346977829885cbd8b1200ca21049b1df242ad.tar.xz |
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 96417adec326..b023d10d7e1c 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", }, {}, |