mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
w1: core: match sub-nodes of bus masters in devicetree
Once a new slave device is detected, match it against all sub-nodes of the master bus controller. If a match is found, set the slave device's of_node pointer. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
This commit is contained in:
committed by
Sebastian Reichel
parent
da0a5d99b1
commit
fae68031f7
@@ -274,6 +274,8 @@ struct w1_family {
|
||||
|
||||
struct w1_family_ops *fops;
|
||||
|
||||
const struct of_device_id *of_match_table;
|
||||
|
||||
atomic_t refcnt;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user