mei: move doc files Documentation/misc-devices/mei
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 9 May 2012 13:39:00 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:59:09 +0000 (13:59 -0700)
1. move mei.txt, TODO, and the example code under Documentation/misc-devices/mei
2. update the TODO file

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/Makefile
Documentation/misc-devices/mei/Makefile [new file with mode: 0644]
Documentation/misc-devices/mei/TODO [new file with mode: 0644]
Documentation/misc-devices/mei/mei-amt-version.c [moved from drivers/misc/mei/mei-amt-version.c with 100% similarity]
Documentation/misc-devices/mei/mei.txt [moved from drivers/misc/mei/mei.txt with 100% similarity]
drivers/misc/mei/TODO [deleted file]

index 30b656e..31d302b 100644 (file)
@@ -1,3 +1,3 @@
 obj-m := DocBook/ accounting/ auxdisplay/ connector/ \
        filesystems/ filesystems/configfs/ ia64/ laptops/ networking/ \
-       pcmcia/ spi/ timers/ watchdog/src/
+       pcmcia/ spi/ timers/ watchdog/src/ misc-devices/mei/
diff --git a/Documentation/misc-devices/mei/Makefile b/Documentation/misc-devices/mei/Makefile
new file mode 100644 (file)
index 0000000..00e8c3e
--- /dev/null
@@ -0,0 +1,8 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+# List of programs to build
+hostprogs-y := mei-amt-version
+HOSTCFLAGS_mei-amt-version.o += -I$(objtree)/usr/include
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
diff --git a/Documentation/misc-devices/mei/TODO b/Documentation/misc-devices/mei/TODO
new file mode 100644 (file)
index 0000000..933b299
--- /dev/null
@@ -0,0 +1,5 @@
+TODO:
+       - Cleanup and split the timer function
+Upon Unstaging:
+       - Documentation/ioctl/ioctl-number.txt
+       - Updated MAINTAINERS
diff --git a/drivers/misc/mei/TODO b/drivers/misc/mei/TODO
deleted file mode 100644 (file)
index ed4d16c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-TODO:
-       - Cleanup and split the timer function
-Upon Unstaging:
-       - Documentation/ioctl/ioctl-number.txt
-       - move mei.txt under Documentation/mei/
-       - move mei-amt-version.c under Documentation/mei
-       - add hostprogs-y for mei-amt-version.c
-       - drop mei_version.h
-       - Updated MAINTAINERS