# \[PATCH\] au1100fb: use preprocessor instruction for error

- From: Randy.Dunlap \<hidden\>
- Date: 2005-10-03 00:15:45 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/10/13455526
- Thread: https://ratatoskr.run/linux-fbdev/2005/10/13455526/t.md

```text
From: Randy Dunlap <redacted>

Use #preprocessor to generate an error instead of a warning
that may be missed.
(or was this done intentionally?)

Signed-off-by: Randy Dunlap <redacted>
---

 drivers/video/au1100fb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp linux-2614-rc2-git6/drivers/video/au1100fb.c~au11fb_unknown linux-2614-rc2-git6/drivers/video/au1100fb.c
--- linux-2614-rc2-git6/drivers/video/au1100fb.c~au11fb_unknown	2005-08-28 16:41:01.000000000 -0700
+++ linux-2614-rc2-git6/drivers/video/au1100fb.c	2005-10-02 16:28:27.000000000 -0700
@@ -63,7 +63,7 @@
  */
 #if defined(CONFIG_MIPS_PB1100) || defined(CONFIG_MIPS_DB1100) || defined(CONFIG_MIPS_HYDROGEN3)
 #else
-error Unknown Au1100 board
+#error Unknown Au1100 board
 #endif
 
 #define CMAPSIZE 16


---


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
```
