From 75ea5f1c0f6b93eae17470dfc62b40d254bb171b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 31 May 2013 15:47:14 +0200 Subject: of: Add of_modalias_node function Directly from the Kernel. Signed-off-by: Sascha Hauer --- include/of.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/of.h') diff --git a/include/of.h b/include/of.h index 4dcf37e140..89f60d4844 100644 --- a/include/of.h +++ b/include/of.h @@ -72,6 +72,8 @@ struct fdt_header *fdt_get_tree(void); struct fdt_header *of_get_fixed_tree(struct device_node *node); +int of_modalias_node(struct device_node *node, char *modalias, int len); + #define device_node_for_nach_child(node, child) \ list_for_each_entry(child, &node->children, parent_list) -- cgit v1.2.3