linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] at76c651: don't do generic __ilog2 on mips
@ 2006-01-26  2:27 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2006-01-26  2:27 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-dvb-maintainer, linux-kernel

Fix

dvb/frontends/at76c651.c: redifinition of __ilog2 blah blah

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/media/dvb/frontends/at76c651.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/dvb/frontends/at76c651.c
+++ b/drivers/media/dvb/frontends/at76c651.c
@@ -61,7 +61,7 @@ static int debug;
 	} while (0)
 
 
-#if ! defined(__powerpc__)
+#if ! defined(__powerpc__) && ! defined(__mips__)
 static __inline__ int __ilog2(unsigned long x)
 {
 	int i;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-26  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26  2:27 [PATCH] at76c651: don't do generic __ilog2 on mips Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).