Hi, On Sun, Feb 12 2012, Huang Changming-R66093 wrote: > You are right. > I want to use the below code in header file "drivers/mmc/host/sdhci-esdhc.h": > if (of_find_compatible_node(NULL, NULL, "fsl,p1010-esdhc")) > then I can avoid the twice test of the clock. > do you think if it is reasonable? Yes, I think that's okay; let's try it. Thanks, - Chris. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html