File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ EXPORT_SYMBOL(of_device_is_compatible);
561561 * a NULL terminated array of strings. Returns the best match
562562 * score or 0.
563563 */
564- int of_device_compatible_match (struct device_node * device ,
564+ int of_device_compatible_match (const struct device_node * device ,
565565 const char * const * compat )
566566{
567567 unsigned int tmp , score = 0 ;
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ extern int of_property_read_string_helper(const struct device_node *np,
342342 const char * * out_strs , size_t sz , int index );
343343extern int of_device_is_compatible (const struct device_node * device ,
344344 const char * );
345- extern int of_device_compatible_match (struct device_node * device ,
345+ extern int of_device_compatible_match (const struct device_node * device ,
346346 const char * const * compat );
347347extern bool of_device_is_available (const struct device_node * device );
348348extern bool of_device_is_big_endian (const struct device_node * device );
@@ -562,7 +562,7 @@ static inline int of_device_is_compatible(const struct device_node *device,
562562 return 0 ;
563563}
564564
565- static inline int of_device_compatible_match (struct device_node * device ,
565+ static inline int of_device_compatible_match (const struct device_node * device ,
566566 const char * const * compat )
567567{
568568 return 0 ;
You can’t perform that action at this time.
0 commit comments