]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: fsl-mc: rename mc-private.h to mc-bus.h
authorStuart Yoder <stuart.yoder@nxp.com>
Tue, 23 Aug 2016 22:13:04 +0000 (17:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:57:25 +0000 (17:57 +0200)
The definitions in mc-private.h are not strictly speaking
'private', they are bus-related definitions expected to be
referenced by bus driver components as well as system components
(gic, smmu, vfio).  Rename mc-private.h to mc-bus.h to more
accurately reflect expected use.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c
drivers/staging/fsl-mc/bus/mc-allocator.c
drivers/staging/fsl-mc/bus/mc-bus.c
drivers/staging/fsl-mc/bus/mc-msi.c
drivers/staging/fsl-mc/include/mc-bus.h [moved from drivers/staging/fsl-mc/include/mc-private.h with 97% similarity]

index 0523ba8a196525b7200fe0608dc3a2d15b240a2d..83e72b3ed4c1d986c32ccb887d68b9171c6666b4 100644 (file)
@@ -9,7 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include "../include/mc-private.h"
+#include "../include/mc-bus.h"
 #include "../include/mc-sys.h"
 #include <linux/module.h>
 #include <linux/slab.h>
index d0c20d669309a78de70986f2eb19f429b3fe52bb..aac437963446345aa998ae41246209286f42852d 100644 (file)
@@ -9,7 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include "../include/mc-private.h"
+#include "../include/mc-bus.h"
 #include <linux/of_device.h>
 #include <linux/of_address.h>
 #include <linux/irqchip/arm-gic-v3.h>
index 0f50a07fe10c642c7362351330501ff5239fc847..3ebaecbc1ec02269d3e062cc88065a1740c18447 100644 (file)
@@ -8,7 +8,7 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include "../include/mc-private.h"
+#include "../include/mc-bus.h"
 #include "../include/mc-sys.h"
 #include <linux/module.h>
 #include "../include/dpbp-cmd.h"
index fe20c5d6994ca9d73315ec44785b19665e47a277..975d30b8775ef313aac26e3bbe19d537f56c39bd 100644 (file)
@@ -9,7 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include "../include/mc-private.h"
+#include "../include/mc-bus.h"
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/of_address.h>
index c7be156ae5e06cb49c6879bd011b3a40e6c4a935..6e39a983f8e3fe7b17b43c41a77f7385af6d97c5 100644 (file)
@@ -9,7 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include "../include/mc-private.h"
+#include "../include/mc-bus.h"
 #include <linux/of_device.h>
 #include <linux/of_address.h>
 #include <linux/irqchip/arm-gic-v3.h>
similarity index 97%
rename from drivers/staging/fsl-mc/include/mc-private.h
rename to drivers/staging/fsl-mc/include/mc-bus.h
index cab1ae90f09e60e28a8199e24a6e82129ae99a53..7f847e6734f34e6238d6fe96ba13a9922e4fe23c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Freescale Management Complex (MC) bus private declarations
+ * Freescale Management Complex (MC) bus declarations
  *
  * Copyright (C) 2014 Freescale Semiconductor, Inc.
  * Author: German Rivera <German.Rivera@freescale.com>
@@ -8,8 +8,8 @@
  * License version 2. This program is licensed "as is" without any
  * warranty of any kind, whether express or implied.
  */
-#ifndef _FSL_MC_PRIVATE_H_
-#define _FSL_MC_PRIVATE_H_
+#ifndef _FSL_MC_MCBUS_H_
+#define _FSL_MC_MCBUS_H_
 
 #include "../include/mc.h"
 #include <linux/mutex.h>
@@ -155,4 +155,4 @@ int fsl_mc_populate_irq_pool(struct fsl_mc_bus *mc_bus,
 
 void fsl_mc_cleanup_irq_pool(struct fsl_mc_bus *mc_bus);
 
-#endif /* _FSL_MC_PRIVATE_H_ */
+#endif /* _FSL_MC_MCBUS_H_ */