summaryrefslogtreecommitdiffstats
path: root/drivers/video/sis/osdef.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2010-11-19 21:58:47 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-11-24 16:02:56 +0900
commitf7854e5df3f0828e942b089a82dfa5ce9baea428 (patch)
tree1ddf428bcdab50d623b0814d17428a29e02ac8f7 /drivers/video/sis/osdef.h
parentb6c30ca6136c6c6900a086b6b843f738a588a2f3 (diff)
sisfb: use CONFIG_FB_SIS_301/315 instead of SIS301/315H
There is no need to alias CONFIG #defines. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Thomas Winischhofer <thomas@winischhofer.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sis/osdef.h')
-rw-r--r--drivers/video/sis/osdef.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/video/sis/osdef.h b/drivers/video/sis/osdef.h
index bc185a9a4d8..dae407cdb51 100644
--- a/drivers/video/sis/osdef.h
+++ b/drivers/video/sis/osdef.h
@@ -82,15 +82,7 @@
/* LINUX KERNEL */
/**********************************************************************/
-#ifdef CONFIG_FB_SIS_300
-#define SIS300
-#endif
-
-#ifdef CONFIG_FB_SIS_315
-#define SIS315H
-#endif
-
-#if !defined(SIS300) && !defined(SIS315H)
+#if !defined(CONFIG_FB_SIS_300) && !defined(CONFIG_FB_SIS_315)
#warning Neither CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is set
#warning sisfb will not work!
#endif