staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers

This change “staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers” (commit 824ebf1) in Linux kernel is authored by Stuart Yoder <stuart.yoder [at] nxp.com> on Mon Oct 17 13:42:18 2016 -0500.

Description of "staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers"

The change “staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers” introduces changes as follows.

staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers

The dpbp and dpcon cmd header files should not be in the public
include directory but should be private to the bus driver.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Linux kernel releases containing commit 824ebf1

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "staging: fsl-mc: cleanup: move dpbp and dpcon cmd headers"

There are 7 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/fsl-mc/{include => bus}/dpbp-cmd.h  | 0
 drivers/staging/fsl-mc/bus/dpbp.c                   | 3 ++-
 drivers/staging/fsl-mc/{include => bus}/dpcon-cmd.h | 0
 drivers/staging/fsl-mc/bus/fsl-mc-allocator.c       | 4 ++--
 4 files changed, 4 insertions(+), 3 deletions(-)
 rename drivers/staging/fsl-mc/{include => bus}/dpbp-cmd.h (100%)
 rename drivers/staging/fsl-mc/{include => bus}/dpcon-cmd.h (100%)
 
diff --git a/drivers/staging/fsl-mc/include/dpbp-cmd.h b/drivers/staging/fsl-mc/bus/dpbp-cmd.h
similarity index 100%
rename from drivers/staging/fsl-mc/include/dpbp-cmd.h
rename to drivers/staging/fsl-mc/bus/dpbp-cmd.h
diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/staging/fsl-mc/bus/dpbp.c
index 5d4cd812a400..b392745a4f83 100644
--- a/drivers/staging/fsl-mc/bus/dpbp.c
+++ b/drivers/staging/fsl-mc/bus/dpbp.c
@@ -32,7 +32,8 @@
 #include "../include/mc-sys.h"
 #include "../include/mc-cmd.h"
 #include "../include/dpbp.h"
-#include "../include/dpbp-cmd.h"
+
+#include "dpbp-cmd.h"
 
 /**
  * dpbp_open() - Open a control session for the specified object.
diff --git a/drivers/staging/fsl-mc/include/dpcon-cmd.h b/drivers/staging/fsl-mc/bus/dpcon-cmd.h
similarity index 100%
rename from drivers/staging/fsl-mc/include/dpcon-cmd.h
rename to drivers/staging/fsl-mc/bus/dpcon-cmd.h
diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
index e93ab53bae67..cf1014822906 100644
--- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
+++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
@@ -12,9 +12,9 @@
 #include <linux/msi.h>
 #include "../include/mc-bus.h"
 #include "../include/mc-sys.h"
-#include "../include/dpbp-cmd.h"
-#include "../include/dpcon-cmd.h"
 
+#include "dpbp-cmd.h"
+#include "dpcon-cmd.h"
 #include "fsl-mc-private.h"
 
 #define FSL_MC_IS_ALLOCATABLE(_obj_type) \

The commit for this change in Linux stable tree is 824ebf1 (patch).

Last modified: 2020/02/09