From 6e4cd27a35622cddbe6c0d6fbeb9da8c232029d1 Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Tue, 11 Mar 2014 14:49:23 +0200 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/amthif.c | 1 - drivers/misc/mei/bus.c | 1 - drivers/misc/mei/hbm.c | 1 - drivers/misc/mei/hw-me.c | 4 ++-- drivers/misc/mei/interrupt.c | 1 - drivers/misc/mei/main.c | 1 - drivers/misc/mei/mei_dev.h | 1 - drivers/misc/mei/pci-me.c | 3 ++- 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 f05d54d..b75a7da 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c @@ -34,7 +34,6 @@ #include "mei_dev.h" #include "hbm.h" -#include "hw-me.h" #include "client.h" 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 463ae51..ddc5ac9 100644 --- a/drivers/misc/mei/bus.c +++ b/drivers/misc/mei/bus.c @@ -26,7 +26,6 @@ #include #include "mei_dev.h" -#include "hw-me.h" #include "client.h" #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 9555791..5fa5ff9 100644 --- a/drivers/misc/mei/hbm.c +++ b/drivers/misc/mei/hbm.c @@ -21,7 +21,6 @@ #include "mei_dev.h" #include "hbm.h" -#include "hw-me.h" #include "client.h" 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 7145929..8dbdaae 100644 --- a/drivers/misc/mei/hw-me.c +++ b/drivers/misc/mei/hw-me.c @@ -20,10 +20,10 @@ #include #include "mei_dev.h" -#include "hw-me.h" - #include "hbm.h" +#include "hw-me.h" +#include "hw-me-regs.h" /** * 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 f38a32a..29b5af8 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c @@ -26,7 +26,6 @@ #include "mei_dev.h" #include "hbm.h" -#include "hw-me.h" #include "client.h" diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 49e3bb8..63ca2d1 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -40,7 +40,6 @@ #include #include "mei_dev.h" -#include "hw-me.h" #include "client.h" /** diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 36640b9..2ef5593 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -24,7 +24,6 @@ #include #include "hw.h" -#include "hw-me-regs.h" #include "hbm.h" /* diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index 50d9cb5..19fa183 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c @@ -39,8 +39,9 @@ #include #include "mei_dev.h" -#include "hw-me.h" #include "client.h" +#include "hw-me-regs.h" +#include "hw-me.h" /* mei_pci_tbl - PCI Device ID Table */ static DEFINE_PCI_DEVICE_TABLE(mei_me_pci_tbl) = { diff --git a/drivers/misc/mei/wd.c b/drivers/misc/mei/wd.c index e084adf..ebf1cbc 100644 --- a/drivers/misc/mei/wd.c +++ b/drivers/misc/mei/wd.c @@ -25,7 +25,6 @@ #include "mei_dev.h" #include "hbm.h" -#include "hw-me.h" #include "client.h" static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 }; -- cgit v1.1