Re: scx200_gpio.c doesn't compile in 2.5.50

Christer Weinigel (wingel@nano-system.com)
30 Nov 2002 23:49:39 +0100


Adrian Bunk <bunk@fs.tum.de> writes:

> Compilation of drivers/char/scx200_gpio.c fails in 2.5.50 with the error
> messages below.

Thanks for the report. Patch follows.

Alan, do you want small fixes like these or should I send them to
someone else?

/Christer

diff -ur linux-2.5.50/drivers/char/scx200_gpio.c.orig linux-2.5.50/drivers/char/scx200_gpio.c
--- linux-2.5.50/drivers/char/scx200_gpio.c.orig Wed Nov 27 23:35:47 2002
+++ linux-2.5.50/drivers/char/scx200_gpio.c Sat Nov 30 23:46:43 2002
@@ -10,6 +10,7 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/fs.h>
#include <asm/uaccess.h>
#include <asm/io.h>

-- 
"Just how much can I get away with and still go to heaven?"

Freelance consultant specializing in device driver programming for Linux Christer Weinigel <christer@weinigel.se> http://www.weinigel.se - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/