aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch')
-rw-r--r--target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch9
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch b/target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch
index 129b8ecc64..7c6e25b038 100644
--- a/target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch
+++ b/target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch
@@ -8611,7 +8611,7 @@ Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
+}
--- a/drivers/staging/fsl-mc/bus/mc-io.c
+++ /dev/null
-@@ -1,292 +0,0 @@
+@@ -1,297 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
-/*
- * Copyright 2013-2016 Freescale Semiconductor Inc.
@@ -8754,7 +8754,12 @@ Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
- */
-void fsl_destroy_mc_io(struct fsl_mc_io *mc_io)
-{
-- struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev;
+- struct fsl_mc_device *dpmcp_dev;
+-
+- if (!mc_io)
+- return;
+-
+- dpmcp_dev = mc_io->dpmcp_dev;
-
- if (dpmcp_dev)
- fsl_mc_io_unset_dpmcp(mc_io);