]> Git Repo - linux.git/commit
dt: Add empty of_match_node() macro
authorNicolas Ferre <[email protected]>
Mon, 24 Oct 2011 09:53:32 +0000 (11:53 +0200)
committerGrant Likely <[email protected]>
Mon, 24 Oct 2011 14:59:39 +0000 (16:59 +0200)
commit5762c20593b6b959f1470dc6f1ff4ca4d9570f8d
tree600e91cf04c2a996a666011cd6ec01b77c8cd436
parent36a0904ea0a657567122edebb95eab5f1620a5eb
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 <[email protected]>
Acked-by: Grant Likely <[email protected]>
include/linux/of.h
This page took 0.058303 seconds and 4 git commands to generate.