[PATCH] powerpc, 460gt: Add 460gt as compatible in the check for 460ex-compatible crypto

Segher Boessenkool segher at kernel.crashing.org
Thu Jun 23 09:24:54 EST 2011


> -	if (of_find_compatible_node(NULL, NULL, "amcc,ppc460ex-crypto")) {
> +	if (of_find_compatible_node(NULL, NULL, "amcc,ppc460ex-crypto") ||
> +	    of_find_compatible_node(NULL, NULL, "amcc,ppc460gt-crypto")) {

If the device is actually compatible, the device tree node should claim
it is, and you do not need this code change.


Segher



More information about the Linuxppc-dev mailing list