diff options
-rw-r--r-- | Documentation/Makefile | 2 | ||||
-rw-r--r-- | Documentation/auxdisplay/Makefile | 7 | ||||
-rw-r--r-- | Documentation/auxdisplay/cfag12864b | 2 | ||||
-rw-r--r-- | samples/auxdisplay/.gitignore (renamed from Documentation/auxdisplay/.gitignore) | 0 | ||||
-rw-r--r-- | samples/auxdisplay/Makefile | 9 | ||||
-rw-r--r-- | samples/auxdisplay/cfag12864b-example.c (renamed from Documentation/auxdisplay/cfag12864b-example.c) | 0 |
6 files changed, 11 insertions, 9 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index b2210b7af2e5..0b8cd503224c 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile | |||
@@ -1,2 +1,2 @@ | |||
1 | subdir-y := accounting auxdisplay blackfin \ | 1 | subdir-y := accounting blackfin \ |
2 | laptops pcmcia | 2 | laptops pcmcia |
diff --git a/Documentation/auxdisplay/Makefile b/Documentation/auxdisplay/Makefile deleted file mode 100644 index ada4dac99ef4..000000000000 --- a/Documentation/auxdisplay/Makefile +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | # List of programs to build | ||
2 | hostprogs-y := cfag12864b-example | ||
3 | |||
4 | # Tell kbuild to always build the programs | ||
5 | always := $(hostprogs-y) | ||
6 | |||
7 | HOSTCFLAGS_cfag12864b-example.o += -I$(objtree)/usr/include | ||
diff --git a/Documentation/auxdisplay/cfag12864b b/Documentation/auxdisplay/cfag12864b index eb7be393a510..12fd51b8de75 100644 --- a/Documentation/auxdisplay/cfag12864b +++ b/Documentation/auxdisplay/cfag12864b | |||
@@ -101,5 +101,5 @@ Although the LCD won't get updated until the next refresh time arrives. | |||
101 | Also, you can mmap the framebuffer: open & mmap, munmap & close... | 101 | Also, you can mmap the framebuffer: open & mmap, munmap & close... |
102 | which is the best option for most uses. | 102 | which is the best option for most uses. |
103 | 103 | ||
104 | Check Documentation/auxdisplay/cfag12864b-example.c | 104 | Check samples/auxdisplay/cfag12864b-example.c |
105 | for a real working userspace complete program with usage examples. | 105 | for a real working userspace complete program with usage examples. |
diff --git a/Documentation/auxdisplay/.gitignore b/samples/auxdisplay/.gitignore index 7af222860a96..7af222860a96 100644 --- a/Documentation/auxdisplay/.gitignore +++ b/samples/auxdisplay/.gitignore | |||
diff --git a/samples/auxdisplay/Makefile b/samples/auxdisplay/Makefile new file mode 100644 index 000000000000..05e471feb6e5 --- /dev/null +++ b/samples/auxdisplay/Makefile | |||
@@ -0,0 +1,9 @@ | |||
1 | CC := $(CROSS_COMPILE)gcc | ||
2 | CFLAGS := -I../../usr/include | ||
3 | |||
4 | PROGS := cfag12864b-example | ||
5 | |||
6 | all: $(PROGS) | ||
7 | |||
8 | clean: | ||
9 | rm -fr $(PROGS) | ||
diff --git a/Documentation/auxdisplay/cfag12864b-example.c b/samples/auxdisplay/cfag12864b-example.c index e7823ffb1ca0..e7823ffb1ca0 100644 --- a/Documentation/auxdisplay/cfag12864b-example.c +++ b/samples/auxdisplay/cfag12864b-example.c | |||