mei: include local headers after the system ones
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 25 Dec 2012 17:06:03 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:31:28 +0000 (10:31 -0800)
first include linux/mei.h then only local headers
to avoid possible false dependencies

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/init.c
drivers/misc/mei/interface.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/iorw.c
drivers/misc/mei/main.c
drivers/misc/mei/wd.c

index 77acd2349b1bb550109d8b7ef8a882e1c6a6a734..bb613f733309bd568517f66f180669df87ed0029 100644 (file)
 #include <linux/jiffies.h>
 #include <linux/uaccess.h>
 
+#include <linux/mei.h>
 
 #include "mei_dev.h"
-#include "hw.h"
-#include <linux/mei.h>
 #include "interface.h"
 
 const uuid_le mei_amthi_guid  = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, 0xac,
index c0c0b3e2257967ac59723952c406cf88785cdf94..08884ef13f3115e98c2a1ebf4b25b008635be7ec 100644 (file)
 #include <linux/wait.h>
 #include <linux/delay.h>
 
+#include <linux/mei.h>
+
 #include "mei_dev.h"
-#include "hw.h"
 #include "interface.h"
-#include <linux/mei.h>
 
 const char *mei_dev_state_str(int state)
 {
index 17d93f71d6bf01a0fb48a8587a5b8730c3e8d804..810431e30cd258963ad8eaeebd60b13e14473480 100644 (file)
@@ -15,8 +15,9 @@
  */
 
 #include <linux/pci.h>
-#include "mei_dev.h"
 #include <linux/mei.h>
+
+#include "mei_dev.h"
 #include "interface.h"
 
 
index fe93d1c9c2421287113669955fbd4e3fb858aa00..0a020ad92f0031680d294900e2268f15866dd038 100644 (file)
@@ -21,9 +21,9 @@
 #include <linux/fs.h>
 #include <linux/jiffies.h>
 
-#include "mei_dev.h"
 #include <linux/mei.h>
-#include "hw.h"
+
+#include "mei_dev.h"
 #include "interface.h"
 
 
index eb93a1b53b9b29e322badffd693a34fc80feb942..7ccc3d8a079e75d0bc6e718d60eee19b51a047c3 100644 (file)
@@ -33,9 +33,9 @@
 #include <linux/uaccess.h>
 
 
-#include "mei_dev.h"
-#include "hw.h"
 #include <linux/mei.h>
+
+#include "mei_dev.h"
 #include "interface.h"
 
 /**
index 7751b58540acfbf93292390685dd1f610b4ca5aa..da94260548151c002d06ce761cb1ed2fc97dc227 100644 (file)
@@ -37,8 +37,9 @@
 #include <linux/interrupt.h>
 #include <linux/miscdevice.h>
 
-#include "mei_dev.h"
 #include <linux/mei.h>
+
+#include "mei_dev.h"
 #include "interface.h"
 
 /* AMT device is a singleton on the platform */
index 9d4d4aa0f0e8cb1e4447cc3834ea94f81e9f1a97..9c3738a4eb08afce6060e767d39a40bf9d176c98 100644 (file)
 #include <linux/sched.h>
 #include <linux/watchdog.h>
 
+#include <linux/mei.h>
+
 #include "mei_dev.h"
-#include "hw.h"
 #include "interface.h"
-#include <linux/mei.h>
 
 static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 };
 static const u8 mei_stop_wd_params[] = { 0x02, 0x02, 0x14, 0x10 };