diff options
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r-- | drivers/base/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c index f0c605e99ade..a1a722502587 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c | |||
@@ -621,7 +621,7 @@ static int platform_uevent(struct device *dev, struct kobj_uevent_env *env) | |||
621 | int rc; | 621 | int rc; |
622 | 622 | ||
623 | /* Some devices have extra OF data and an OF-style MODALIAS */ | 623 | /* Some devices have extra OF data and an OF-style MODALIAS */ |
624 | rc = of_device_uevent(dev,env); | 624 | rc = of_device_uevent_modalias(dev,env); |
625 | if (rc != -ENODEV) | 625 | if (rc != -ENODEV) |
626 | return rc; | 626 | return rc; |
627 | 627 | ||