diff --git a/include/of_device.h b/include/of_device.h index e84fc9c..44c1c0f 100644 --- a/include/of_device.h +++ b/include/of_device.h @@ -41,7 +41,7 @@ return NULL; } #define of_match_device(matches, dev) \ - __of_match_device(of_match_ptr(matches), (dev)) + __of_match_device(matches, (dev)) #endif /* CONFIG_OF */