Merge branch 'for-grant' of git://sources.calxeda.com/kernel/linux into devicetree...
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 4 Nov 2011 03:32:20 +0000 (23:32 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 4 Nov 2011 03:32:20 +0000 (23:32 -0400)
include/linux/of.h

index f01ba8a..4386c5f 100644 (file)
@@ -321,6 +321,11 @@ static inline struct device_node *of_parse_phandle(struct device_node *np,
        return NULL;
 }
 
+static inline int of_alias_get_id(struct device_node *np, const char *stem)
+{
+       return -ENOSYS;
+}
+
 #define of_match_ptr(_ptr)     NULL
 #define of_match_node(_matches, _node) NULL
 #endif /* CONFIG_OF */