mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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>
This commit is contained in:
parent
ec49ec33e2
commit
1f8e6eee81
2 changed files with 5 additions and 5 deletions
|
@ -58,9 +58,4 @@
|
|||
/* LINUX KERNEL */
|
||||
/**********************************************************************/
|
||||
|
||||
#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
|
||||
|
||||
#endif /* _OSDEF_H_ */
|
||||
|
|
|
@ -60,6 +60,11 @@
|
|||
#include "sis.h"
|
||||
#include "sis_main.h"
|
||||
|
||||
#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
|
||||
|
||||
static void sisfb_handle_command(struct sis_video_info *ivideo,
|
||||
struct sisfb_cmd *sisfb_command);
|
||||
|
||||
|
|
Loading…
Reference in a new issue