summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/f_fs.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-10 19:51:36 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 22:21:44 +0200
commitb0608690c2deafbca32b45196672bfd74006cf61 (patch)
treea50e431243a46611f479741217c29103a35843c5 /drivers/usb/gadget/f_fs.c
parentUSB: ohci: Add Kconfig entries for ohci-omap3 (diff)
downloadlinux-b0608690c2deafbca32b45196672bfd74006cf61.tar.xz
linux-b0608690c2deafbca32b45196672bfd74006cf61.zip
USB: gadget: f_fs.c needs to include pagemap.h
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@oracle.com> Acked-by: MichaƂ Nazarewicz <m.nazarewicz@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/f_fs.c')
-rw-r--r--drivers/usb/gadget/f_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index af89ca672c60..d69eccf5f197 100644
--- 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>