]> Git Repo - linux.git/blobdiff - drivers/soc/qcom/apr.c
af_unix: fix struct pid leaks in OOB support
[linux.git] / drivers / soc / qcom / apr.c
index d51abb462ae5d3481d26a0bdc6ababe603d7ca26..30f81d6d9d9da5c375cc8975f63e38eeea77e7a2 100644 (file)
@@ -387,9 +387,9 @@ static void apr_device_remove(struct device *dev)
        spin_unlock(&apr->svcs_lock);
 }
 
-static int apr_uevent(struct device *dev, struct kobj_uevent_env *env)
+static int apr_uevent(const struct device *dev, struct kobj_uevent_env *env)
 {
-       struct apr_device *adev = to_apr_device(dev);
+       const struct apr_device *adev = to_apr_device(dev);
        int ret;
 
        ret = of_device_uevent_modalias(dev, env);
This page took 0.026742 seconds and 4 git commands to generate.