From: Nicolas Ferre Date: Mon, 24 Oct 2011 09:53:32 +0000 (+0200) Subject: dt: Add empty of_match_node() macro X-Git-Tag: v3.2-rc1~150^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5762c20593b6b959f1470dc6f1ff4ca4d9570f8d;p=pandora-kernel.git dt: Add empty of_match_node() macro Add an empty macro for of_match_node() that will save some '#ifdef CONFIG_OF' for non-dt builds. I have chosen to use a macro instead of a function to be able to avoid defining the first parameter. In fact, this "struct of_device_id *" first parameter is usualy not defined as well on non-dt builds. Signed-off-by: Nicolas Ferre Acked-by: Grant Likely --- Reading git-diff-tree failed