[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <op.vcjctphf7p4s8u@pikus>
Date: Tue, 11 May 2010 12:02:03 +0200
From: Michał Nazarewicz <m.nazarewicz@...sung.com>
To: Randy Dunlap <randy.dunlap@...cle.com>,
Stephen Rothwell <sfr@...b.auug.org.au>, gregkh@...e.de
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
lud <linux-usb@...r.kernel.org>
Subject: Re: [PATCH -next] gadget: f_fs.c needs to include pagemap.h
On Mon, 10 May 2010 19:51:36 +0200, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> Fix g_ffs build error, add a needed header file:
>
> drivers/usb/gadget/f_fs.c:1064:error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
> drivers/usb/gadget/f_fs.c:1065:error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function)
> --- linux-next-20100510.orig/drivers/usb/gadget/f_fs.c
> +++ linux-next-20100510/drivers/usb/gadget/f_fs.c
> @@ -28,6 +28,7 @@
> /* #define VERBOSE_DEBUG */
> #include <linux/blkdev.h>
> +#include <linux/pagemap.h>
> #include <asm/unaligned.h>
> #include <linux/smp_lock.h>
Needles to say, this looks reasonable.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists