2002-06-20 02:18:09

by David Gibson

[permalink] [raw]
Subject: [TRIVIAL] Missing tqueue.h in drivers/char/genrtc.c

Linus, please apply. This fixes a compile problem on PPC in
drivers/char/genrtc.c. It needs struct tq_struct, defined in
tqueue.h, which must formerly have been indirectly included. With the
recent removal of a bunch of includes, it isn't. This patch includes
it directly.

diff -urN /home/dgibson/kernel/linuxppc-2.5/drivers/char/genrtc.c linux-bluefish/drivers/char/genrtc.c
--- /home/dgibson/kernel/linuxppc-2.5/drivers/char/genrtc.c Fri Jun 14 10:15:07 2002
+++ linux-bluefish/drivers/char/genrtc.c Thu Jun 20 12:01:52 2002
@@ -47,6 +47,7 @@
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
+#include <linux/tqueue.h>

#include <asm/uaccess.h>
#include <asm/system.h>


--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson