diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-23 15:39:47 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-23 15:39:47 +0100 |
| commit | 83f3a44d969161d569712926dbe5df75eb1493fa (patch) | |
| tree | 93adfc547c29700716dbfa8fc70d40a50c026655 /drivers/of | |
| parent | 868aa6daa6d714648dfbe126e1d6bc692b2d06dc (diff) | |
| parent | 3fadfb9362cf1b7d0a775f406f011d78800d6054 (diff) | |
| download | linux-next-83f3a44d969161d569712926dbe5df75eb1493fa.tar.gz linux-next-83f3a44d969161d569712926dbe5df75eb1493fa.zip | |
Merge branch 'driver-core-next' of https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
# Conflicts:
# include/linux/platform_device.h
Diffstat (limited to 'drivers/of')
| -rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 53bca8c6f781..8b1e76407782 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -126,7 +126,7 @@ struct platform_device *of_device_alloc(struct device_node *np, } /* setup generic device info */ - device_set_node(&dev->dev, of_fwnode_handle(of_node_get(np))); + platform_device_set_of_node(dev, np); dev->dev.parent = parent ? : &platform_bus; if (bus_id) |
