staging: fsl-mc: fix a few implicit includes
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 27 Jun 2017 14:41:32 +0000 (17:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:53 +0000 (16:38 +0200)
Few files using byte order macros but did not explicitly
included the required kernel header, so add it.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dpbp.c
drivers/staging/fsl-mc/bus/dpcon.c
drivers/staging/fsl-mc/bus/dpio/dpio.c
drivers/staging/fsl-mc/bus/dpmcp.c
drivers/staging/fsl-mc/bus/dprc.c

index d9e450a6bad651397c5712c7904e0b7b6a907ff6..e92d887de716dcd00d671e1906d52ea37f76a84c 100644 (file)
@@ -29,6 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
 #include "../include/mc-sys.h"
 #include "../include/mc-cmd.h"
 #include "../include/dpbp.h"
index eb713578b817f5b6bd28b053723b1bea6eee08eb..20df185aea5c272a26e1f4648372bc0fa490f9d4 100644 (file)
@@ -29,6 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
 #include "../include/mc-sys.h"
 #include "../include/mc-cmd.h"
 #include "../include/dpcon.h"
index d81e0232f6c11b6a32fabfab61228735b5c6df7d..a18ca897ec3aafbb6c978b864c71e1a1049d266e 100644 (file)
@@ -30,6 +30,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
 #include "../../include/mc-sys.h"
 #include "../../include/mc-cmd.h"
 
index ad4c8b43f065f1a73dc6e7906527a4a88928c881..66011e86c8059b850f264ec353c619995e19d454 100644 (file)
@@ -29,6 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
 #include "../include/mc-sys.h"
 #include "../include/mc-cmd.h"
 
index a47f31d5ffe68bee5e0fb87cf43f6c1d4a80bdfb..e5dfc335dc4eb9a240e4b2b643925c635b0b18d3 100644 (file)
@@ -29,6 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
 #include "../include/mc.h"
 #include "../include/mc-sys.h"
 #include "../include/mc-cmd.h"