diff options
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r-- | drivers/base/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 09bd621e39..c4e3e7b320 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -47,7 +47,7 @@ int bus_register(struct bus_type *bus) return 0; } -int device_match(struct device_d *dev, struct driver_d *drv) +int device_match(struct device *dev, struct driver_d *drv) { if (IS_ENABLED(CONFIG_OFDEVICE) && dev->of_node && drv->of_compatible) @@ -70,7 +70,7 @@ int device_match(struct device_d *dev, struct driver_d *drv) return -1; } -int device_match_of_modalias(struct device_d *dev, struct driver_d *drv) +int device_match_of_modalias(struct device *dev, struct driver_d *drv) { const struct platform_device_id *id = drv->id_table; const char *of_modalias = NULL, *p; |