mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
44504b2beb
The of_node pointer is now stored directly in struct device, so of_match_device() should work with any device, not just struct of_device. This patch changes the interface to of_match_device() to accept a struct device instead of struct of_device. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>