diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-10 10:51:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 13:21:44 -0700 |
commit | b0608690c2deafbca32b45196672bfd74006cf61 (patch) | |
tree | a50e431243a46611f479741217c29103a35843c5 /drivers/usb | |
parent | 968b448b22f5a42689cc55648510834010d42379 (diff) |
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')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index af89ca672c6..d69eccf5f19 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> |