staging: fsl-mc: rename mc-private.h to mc-bus.h
PATCH 1/14 staging: fsl-mc: rename mc-private.h to mc-bus.h
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 <[email protected]>
---
drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +-
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 2 +-
drivers/staging/fsl-mc/bus/mc-allocator.c | 2 +-
drivers/staging/fsl-mc/bus/mc-bus.c | 2 +-
drivers/staging/fsl-mc/bus/mc-msi.c | 2 +-
drivers/staging/fsl-mc/include/{mc-private.h => mc-bus.h} | 8 ++++----
6 files changed, 9 insertions(+), 9 deletions(-)
rename drivers/staging/fsl-mc/include/{mc-private.h => mc-bus.h} (97%)drivers/staging/fsl-mc/bus/dprc-driver.c +1 -1
@@ -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>
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +1 -1
@@ -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>
drivers/staging/fsl-mc/bus/mc-allocator.c +1 -1
@@ -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"
drivers/staging/fsl-mc/bus/mc-bus.c +1 -1
@@ -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>
drivers/staging/fsl-mc/bus/mc-msi.c +1 -1
@@ -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>
drivers/staging/fsl-mc/include/mc-bus.h renamed from drivers/staging/fsl-mc/include/mc-private.h +4 -4
@@ -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 <[email protected]>
@@ -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_ */
Signature · 1 line
1.9.0