]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: fsl-mc: make dprc.h header private
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 22 Jun 2017 13:36:00 +0000 (16:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jun 2017 16:44:01 +0000 (18:44 +0200)
dprc.h is only used in the mc bus driver so move it together with the
sources thus making it private.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc.c
drivers/staging/fsl-mc/bus/dprc.h [moved from drivers/staging/fsl-mc/include/dprc.h with 100% similarity]
drivers/staging/fsl-mc/bus/fsl-mc-private.h
drivers/staging/fsl-mc/include/mc.h

index 138fe80577d870269d812a53b29694f5f3b3e9c7..6f6c65a4216699803c5f71f583f42c01877c6757 100644 (file)
@@ -31,7 +31,7 @@
  */
 #include <linux/kernel.h>
 #include "../include/mc.h"
-#include "../include/dprc.h"
+#include "dprc.h"
 
 #include "dprc-cmd.h"
 
index e5839992e1280c4b86211e176e4a9dcb2dd11c6c..62d3989476059aca83a9f479522abd1e2a1c7adf 100644 (file)
@@ -11,6 +11,7 @@
 #define _FSL_MC_PRIVATE_H_
 
 #include "../include/mc.h"
+#include "dprc.h"
 #include <linux/mutex.h>
 
 /**
index 38f87144324ab16b66046171bcf5a38b16b94d56..aafe63a21f4958cf895426a787b694ae0ecd18dd 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/device.h>
 #include <linux/mod_devicetable.h>
 #include <linux/interrupt.h>
-#include "../include/dprc.h"
 
 #define FSL_MC_VENDOR_FREESCALE        0x1957