From: gregkh on

This is a note to let you know that I've just added the patch titled

Subject: USB: gadget: f_fs.c needs to include pagemap.h

to my gregkh-2.6 tree. Its filename is

usb-gadget-f_fs.c-needs-to-include-pagemap.h.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


From randy.dunlap(a)oracle.com Tue May 11 16:34:16 2010
From: Randy Dunlap <randy.dunlap(a)oracle.com>
Date: Mon, 10 May 2010 10:51:36 -0700
Subject: USB: gadget: f_fs.c needs to include pagemap.h
To: Stephen Rothwell <sfr(a)canb.auug.org.au>, Michal Nazarewicz <m.nazarewicz(a)samsung.com>, gregkh(a)suse.de
Cc: linux-next(a)vger.kernel.org, LKML <linux-kernel(a)vger.kernel.org>, lud <linux-usb(a)vger.kernel.org>
Message-ID: <20100510105136.eee3e58a.randy.dunlap(a)oracle.com>


From: Randy Dunlap <randy.dunlap(a)oracle.com>

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)

Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com>
Acked-by: MichaƂ Nazarewicz <m.nazarewicz(a)samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de>

---
drivers/usb/gadget/f_fs.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/usb/gadget/f_fs.c
+++ b/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>


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