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

From: Segher Boessenkool <[email-masked]>
Date: Thu, 23 Jun 2011 01:24:54 +0200

> -	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