OF: add fsl,mcu-mpc8349emitx to the exception list
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 23 Sep 2008 10:12:19 +0000 (14:12 +0400)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Oct 2008 17:37:51 +0000 (11:37 -0600)
of/base.c matches on the first (most specific) entries, which isn't
quite practical but it was discussed[1] that this won't change.

The bindings specifies verbose information for the devices, but
it doesn't fit in the I2C ID's 20 characters limit. The limit won't
change[2], and the bindings won't change either as they're correct.

So we have to put an exception for the MPC8349E-mITX-compatible
MCUs.

[1] http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg21196.html
[2] http://www.nabble.com/-PATCH-1-2--i2c:-expand-I2C's-id.name-to-23-characters-td19577063.html

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c

index ad8ac1a8af28689acc7198b22fe95a888d62e6a6..a7264644003f676faedc04da68a8689106c9aff2 100644 (file)
@@ -410,7 +410,7 @@ struct of_modalias_table {
        char *modalias;
 };
 static struct of_modalias_table of_modalias_table[] = {
-       /* Empty for now; add entries as needed */
+       { "fsl,mcu-mpc8349emitx", "mcu-mpc8349emitx" },
 };
 
 /**