obj-$(CONFIG_QCOM_Q6V5_WCSS) += qcom_q6v5_wcss.o
--- /dev/null
+++ b/drivers/remoteproc/qcom_q6v5_mpd.c
-@@ -0,0 +1,802 @@
+@@ -0,0 +1,800 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2016-2018 Linaro Ltd.
+ return ret;
+}
+
-+static int q6_wcss_remove(struct platform_device *pdev)
++static void q6_wcss_remove(struct platform_device *pdev)
+{
+ struct rproc *rproc = platform_get_drvdata(pdev);
+ struct q6_wcss *wcss = rproc->priv;
+
+ rproc_del(rproc);
+ rproc_free(rproc);
-+
-+ return 0;
+}
+
+static const struct wcss_data q6_ipq5332_res_init = {
+
+static struct platform_driver q6_wcss_driver = {
+ .probe = q6_wcss_probe,
-+ .remove = q6_wcss_remove,
++ .remove_new = q6_wcss_remove,
+ .driver = {
+ .name = "qcom-q6-mpd",
+ .of_match_table = q6_wcss_of_match,