Skip to contentSkip to conversation

sis warning fix

PATCH New [email protected] 1 participant 1 message Feb 10, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 sis warning fix

drivers/video/sis/sis_main.c: In function `sisfb_compat_ioctl':
drivers/video/sis/sis_main.c:2204: warning: implicit declaration of function `lock_kernel'

---

 25-akpm/drivers/video/sis/sis_main.c |    1 +
 1 files changed, 1 insertion(+)
drivers/video/sis/sis_main.c renamed from drivers/video/sis/sis_main.c~sis-warning-fix +1 -0
diff -puN drivers/video/sis/sis_main.c~sis-warning-fix drivers/video/sis/sis_main.c
@@ -49,6 +49,7 @@
 #include <linux/fb.h>
 #include <linux/console.h>
 #include <linux/selection.h>
+#include <linux/smp_lock.h>
 #include <linux/ioport.h>
 #include <linux/init.h>
 #include <linux/pci.h>

_

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click