public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Michal Nazarewicz <m.nazarewicz@samsung.com>,
	gregkh@suse.de
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	lud <linux-usb@vger.kernel.org>
Subject: [PATCH -next] gadget: f_fs.c needs to include pagemap.h
Date: Mon, 10 May 2010 10:51:36 -0700	[thread overview]
Message-ID: <20100510105136.eee3e58a.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20100510160234.54f76c0a.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@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@oracle.com>
Cc: Michal Nazarewicz <m.nazarewicz@samsung.com>
---
 drivers/usb/gadget/f_fs.c |    1 +
 1 file changed, 1 insertion(+)

--- 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>
 

  reply	other threads:[~2010-05-10 17:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10  6:02 linux-next: Tree for May 10 Stephen Rothwell
2010-05-10 17:51 ` Randy Dunlap [this message]
2010-05-11 10:02   ` [PATCH -next] gadget: f_fs.c needs to include pagemap.h Michał Nazarewicz
2010-05-10 17:53 ` [PATCH -next] staging: memrar depends on RAR_REGISTER Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100510105136.eee3e58a.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.nazarewicz@samsung.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox