]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mpage.h
phylib: add RGMII-ID interface mode definition
[linux-2.6-omap-h63xx.git] / include / linux / mpage.h
index 3ca880463c47426029bad70eb02f30ad3ab41015..cc5fb75af78a25e22c55ba868e4612e09331fbe1 100644 (file)
@@ -9,6 +9,7 @@
  * (And no, it doesn't do the #ifdef __MPAGE_H thing, and it doesn't do
  * nested includes.  Get it right in the .c file).
  */
+#ifdef CONFIG_BLOCK
 
 struct writeback_control;
 typedef int (writepage_t)(struct page *page, struct writeback_control *wbc);
@@ -21,8 +22,4 @@ int mpage_writepages(struct address_space *mapping,
 int mpage_writepage(struct page *page, get_block_t *get_block,
                struct writeback_control *wbc);
 
-static inline int
-generic_writepages(struct address_space *mapping, struct writeback_control *wbc)
-{
-       return mpage_writepages(mapping, wbc, NULL);
-}
+#endif