diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 1c1d5b901a72f2d458bf00ef47d3ea6b0d1c57eb..f8bcd0e21a26649fb70ad645d79b09ee00412283 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -71,7 +71,7 @@ static inline struct device_node *of_graph_get_next_endpoint( return NULL; } -struct device_node *of_graph_get_endpoint_by_regs( +static inline struct device_node *of_graph_get_endpoint_by_regs( const struct device_node *parent, int port_reg, int reg) { return NULL;