sisfb: move the CONFIG warning to sis_main.c

sis_main.c is always compiled, so we can check Kconfig options there.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by Aaro Koskinen and committed by Paul Mundt 1f8e6eee ec49ec33

+5 -5
-5
drivers/video/sis/osdef.h
··· 58 58 /* LINUX KERNEL */ 59 59 /**********************************************************************/ 60 60 61 - #if !defined(CONFIG_FB_SIS_300) && !defined(CONFIG_FB_SIS_315) 62 - #warning Neither CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is set 63 - #warning sisfb will not work! 64 - #endif 65 - 66 61 #endif /* _OSDEF_H_ */
+5
drivers/video/sis/sis_main.c
··· 60 60 #include "sis.h" 61 61 #include "sis_main.h" 62 62 63 + #if !defined(CONFIG_FB_SIS_300) && !defined(CONFIG_FB_SIS_315) 64 + #warning Neither CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is set 65 + #warning sisfb will not work! 66 + #endif 67 + 63 68 static void sisfb_handle_command(struct sis_video_info *ivideo, 64 69 struct sisfb_cmd *sisfb_command); 65 70