patch: ffs() without bitops.h

From: Philip Blundell (Philip.Blundell@pobox.com)
Date: Mon Apr 24 2000 - 12:49:23 EST


A couple of sound drivers were trying to use ffs() without including its
declaration. Here's a patch, against 2.3.99-pre5.

p.

--- linux/drivers/sound/ac97_codec.c Sat Mar 25 21:26:56 2000
+++ linux/drivers/sound/ac97_codec.c Mon Apr 24 17:59:56 2000
@@ -34,6 +34,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/errno.h>
+#include <linux/bitops.h>
 #include <linux/ac97_codec.h>
 #include <asm/uaccess.h>
 
--- linux/drivers/sound/trident.c Sat Mar 25 21:26:42 2000
+++ linux/drivers/sound/trident.c Mon Apr 24 17:59:20 2000
@@ -93,6 +93,7 @@
 #include <linux/ac97_codec.h>
 #include <asm/uaccess.h>
 #include <asm/hardirq.h>
+#include <linux/bitops.h>
 
 #include "trident.h"
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST