Skip to content

Commit

Permalink
mei: export mei.h for the user space
Browse files Browse the repository at this point in the history
The header exports API for application layer

1. move under include/linux and add to  the export list
2. update include path n the sources
3. update TODO

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed May 9, 2012
1 parent b544f3f commit 4f3afe1
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion drivers/misc/mei/TODO
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
TODO:
- Cleanup and split the timer function
Upon Unstaging:
- move mei.h to include/linux/mei.h
- Documentation/ioctl/ioctl-number.txt
- move mei.txt under Documentation/mei/
- move mei-amt-version.c under Documentation/mei
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "mei_dev.h"
#include "hw.h"
#include "interface.h"
#include "mei.h"
#include <linux/mei.h>

const uuid_le mei_amthi_guid = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, 0xac,
0xa8, 0x46, 0xe0, 0xff, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <linux/pci.h>
#include "mei_dev.h"
#include "mei.h"
#include <linux/mei.h>
#include "interface.h"


Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#ifndef _MEI_INTERFACE_H_
#define _MEI_INTERFACE_H_

#include "mei.h"
#include <linux/mei.h>
#include "mei_dev.h"


Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/jiffies.h>

#include "mei_dev.h"
#include "mei.h"
#include <linux/mei.h>
#include "hw.h"
#include "interface.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/iorw.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include "mei_dev.h"
#include "hw.h"
#include "mei.h"
#include <linux/mei.h>
#include "interface.h"


Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <linux/miscdevice.h>

#include "mei_dev.h"
#include "mei.h"
#include <linux/mei.h>
#include "interface.h"

static const char mei_driver_name[] = "mei";
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/mei-amt-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <bits/wordsize.h>
#include "mei.h"
#include <linux/mei.h>

/*****************************************************************************
* Intel Management Engine Interface
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/mei_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <linux/types.h>
#include <linux/watchdog.h>
#include "mei.h"
#include <linux/mei.h>
#include "hw.h"

/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/mei/wd.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "mei_dev.h"
#include "hw.h"
#include "interface.h"
#include "mei.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 };
Expand Down
1 change: 1 addition & 0 deletions include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ header-y += map_to_7segment.h
header-y += matroxfb.h
header-y += mdio.h
header-y += media.h
header-y += mei.h
header-y += mempolicy.h
header-y += meye.h
header-y += mii.h
Expand Down
File renamed without changes.

0 comments on commit 4f3afe1

Please sign in to comment.