OSDN Git Service

drivercore: Output common devicetree information in uevent
[uclinux-h8/linux.git] / drivers / base / platform.c
index f0c605e..a1a7225 100644 (file)
@@ -621,7 +621,7 @@ static int platform_uevent(struct device *dev, struct kobj_uevent_env *env)
        int rc;
 
        /* Some devices have extra OF data and an OF-style MODALIAS */
-       rc = of_device_uevent(dev,env);
+       rc = of_device_uevent_modalias(dev,env);
        if (rc != -ENODEV)
                return rc;