summaryrefslogtreecommitdiff
path: root/include/linux/mpage.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-04-09 08:00:53 +0300
committerTakashi Iwai <tiwai@suse.de>2026-04-09 08:00:53 +0300
commit00afb1811fa638dacf125dd1c343b7a181624dfd (patch)
tree68abc175005f32fb44faf215091af0a0e7a41985 /include/linux/mpage.h
parent082c192c0dd03f685514c9ce2eb0a80fd28e2175 (diff)
parent6b6f7263d626886a96fce6352f94dfab7a24c339 (diff)
downloadlinux-00afb1811fa638dacf125dd1c343b7a181624dfd.tar.xz
Merge tag 'asoc-fix-v7.0-rc7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v7.0 A somewhat larger set of fixes than I'd like unfortunatey, not from any one place but rather spread out over different drivers. We've got a bunch more fixes for the SDCA interrupt support, several relatively minor SOF fixes, a few more driver specific fixes and a couple more AMD quirks.
Diffstat (limited to 'include/linux/mpage.h')
-rw-r--r--include/linux/mpage.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/mpage.h b/include/linux/mpage.h
index 1bdc39daac0a..358946990bfa 100644
--- a/include/linux/mpage.h
+++ b/include/linux/mpage.h
@@ -17,7 +17,14 @@ struct readahead_control;
void mpage_readahead(struct readahead_control *, get_block_t get_block);
int mpage_read_folio(struct folio *folio, get_block_t get_block);
-int mpage_writepages(struct address_space *mapping,
- struct writeback_control *wbc, get_block_t get_block);
+int __mpage_writepages(struct address_space *mapping,
+ struct writeback_control *wbc, get_block_t get_block,
+ int (*write_folio)(struct folio *folio,
+ struct writeback_control *wbc));
+static inline int mpage_writepages(struct address_space *mapping,
+ struct writeback_control *wbc, get_block_t get_block)
+{
+ return __mpage_writepages(mapping, wbc, get_block, NULL);
+}
#endif