diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-03-11 08:49:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 18:53:27 -0400 |
commit | 6e4cd27a35622cddbe6c0d6fbeb9da8c232029d1 (patch) | |
tree | 5a16fb81e8229228112c57706ce4fd86108bf5df | |
parent | cc99ecfdac01215594c73907726b12f251c21e20 (diff) |
mei: make me hw headers private to me hw.
Remove includes of me-hw.h and me-hw-regs.h headers from
the mei generic code.
The mei layer should not depend on hw specific headers
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/misc/mei/amthif.c | 1 | ||||
-rw-r--r-- | drivers/misc/mei/bus.c | 1 | ||||
-rw-r--r-- | drivers/misc/mei/hbm.c | 1 | ||||
-rw-r--r-- | drivers/misc/mei/hw-me.c | 4 | ||||
-rw-r--r-- | drivers/misc/mei/interrupt.c | 1 | ||||
-rw-r--r-- | drivers/misc/mei/main.c | 1 | ||||
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 1 | ||||
-rw-r--r-- | drivers/misc/mei/pci-me.c | 3 | ||||
-rw-r--r-- | drivers/misc/mei/wd.c | 1 |
9 files changed, 4 insertions, 10 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c index f05d54d15e2f..b75a7da1ca84 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | #include "mei_dev.h" | 35 | #include "mei_dev.h" |
36 | #include "hbm.h" | 36 | #include "hbm.h" |
37 | #include "hw-me.h" | ||
38 | #include "client.h" | 37 | #include "client.h" |
39 | 38 | ||
40 | const uuid_le mei_amthif_guid = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, | 39 | const uuid_le mei_amthif_guid = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, |
diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index 463ae51fb708..ddc5ac92a200 100644 --- a/drivers/misc/mei/bus.c +++ b/drivers/misc/mei/bus.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/mei_cl_bus.h> | 26 | #include <linux/mei_cl_bus.h> |
27 | 27 | ||
28 | #include "mei_dev.h" | 28 | #include "mei_dev.h" |
29 | #include "hw-me.h" | ||
30 | #include "client.h" | 29 | #include "client.h" |
31 | 30 | ||
32 | #define to_mei_cl_driver(d) container_of(d, struct mei_cl_driver, driver) | 31 | #define to_mei_cl_driver(d) container_of(d, struct mei_cl_driver, driver) |
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c index 9555791c010b..5fa5ff95ee39 100644 --- a/drivers/misc/mei/hbm.c +++ b/drivers/misc/mei/hbm.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include "mei_dev.h" | 22 | #include "mei_dev.h" |
23 | #include "hbm.h" | 23 | #include "hbm.h" |
24 | #include "hw-me.h" | ||
25 | #include "client.h" | 24 | #include "client.h" |
26 | 25 | ||
27 | static const char *mei_cl_conn_status_str(enum mei_cl_connect_status status) | 26 | static const char *mei_cl_conn_status_str(enum mei_cl_connect_status status) |
diff --git a/drivers/misc/mei/hw-me.c b/drivers/misc/mei/hw-me.c index 7145929cdb51..8dbdaaef1af5 100644 --- a/drivers/misc/mei/hw-me.c +++ b/drivers/misc/mei/hw-me.c | |||
@@ -20,10 +20,10 @@ | |||
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | 21 | ||
22 | #include "mei_dev.h" | 22 | #include "mei_dev.h" |
23 | #include "hw-me.h" | ||
24 | |||
25 | #include "hbm.h" | 23 | #include "hbm.h" |
26 | 24 | ||
25 | #include "hw-me.h" | ||
26 | #include "hw-me-regs.h" | ||
27 | 27 | ||
28 | /** | 28 | /** |
29 | * mei_me_reg_read - Reads 32bit data from the mei device | 29 | * mei_me_reg_read - Reads 32bit data from the mei device |
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c index f38a32addad0..29b5af8efb71 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include "mei_dev.h" | 27 | #include "mei_dev.h" |
28 | #include "hbm.h" | 28 | #include "hbm.h" |
29 | #include "hw-me.h" | ||
30 | #include "client.h" | 29 | #include "client.h" |
31 | 30 | ||
32 | 31 | ||
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 49e3bb8a724a..63ca2d1993fe 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/mei.h> | 40 | #include <linux/mei.h> |
41 | 41 | ||
42 | #include "mei_dev.h" | 42 | #include "mei_dev.h" |
43 | #include "hw-me.h" | ||
44 | #include "client.h" | 43 | #include "client.h" |
45 | 44 | ||
46 | /** | 45 | /** |
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 36640b9d54c5..2ef559333990 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/mei_cl_bus.h> | 24 | #include <linux/mei_cl_bus.h> |
25 | 25 | ||
26 | #include "hw.h" | 26 | #include "hw.h" |
27 | #include "hw-me-regs.h" | ||
28 | #include "hbm.h" | 27 | #include "hbm.h" |
29 | 28 | ||
30 | /* | 29 | /* |
diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index 50d9cb52a71f..19fa18364deb 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c | |||
@@ -39,8 +39,9 @@ | |||
39 | #include <linux/mei.h> | 39 | #include <linux/mei.h> |
40 | 40 | ||
41 | #include "mei_dev.h" | 41 | #include "mei_dev.h" |
42 | #include "hw-me.h" | ||
43 | #include "client.h" | 42 | #include "client.h" |
43 | #include "hw-me-regs.h" | ||
44 | #include "hw-me.h" | ||
44 | 45 | ||
45 | /* mei_pci_tbl - PCI Device ID Table */ | 46 | /* mei_pci_tbl - PCI Device ID Table */ |
46 | static DEFINE_PCI_DEVICE_TABLE(mei_me_pci_tbl) = { | 47 | static DEFINE_PCI_DEVICE_TABLE(mei_me_pci_tbl) = { |
diff --git a/drivers/misc/mei/wd.c b/drivers/misc/mei/wd.c index e084adf27259..ebf1cbc198fd 100644 --- a/drivers/misc/mei/wd.c +++ b/drivers/misc/mei/wd.c | |||
@@ -25,7 +25,6 @@ | |||
25 | 25 | ||
26 | #include "mei_dev.h" | 26 | #include "mei_dev.h" |
27 | #include "hbm.h" | 27 | #include "hbm.h" |
28 | #include "hw-me.h" | ||
29 | #include "client.h" | 28 | #include "client.h" |
30 | 29 | ||
31 | static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 }; | 30 | static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 }; |