summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-01-10 14:43:20 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2014-01-10 14:43:20 +1100
commit3c9b3f171cdf6ef02a6eaa2ec8c93c50fb7cf490 (patch)
tree0211c261982a5d612063efd1c1ad686758b6df35 /lib
parente787ca6b7c5dbd4e0a88a7047bbafae834ba653a (diff)
parentf3c1f5151a90f70b3dfbcfc3827c42b35499ae27 (diff)
Merge remote-tracking branch 'usb/usb-next'
Diffstat (limited to 'lib')
-rw-r--r--lib/scatterlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/scatterlist.c b/lib/scatterlist.c
index d16fa295ae1d..3a8e8e8fb2a5 100644
--- a/lib/scatterlist.c
+++ b/lib/scatterlist.c
@@ -495,7 +495,7 @@ static bool sg_miter_get_next_page(struct sg_mapping_iter *miter)
* true if @miter contains the valid mapping. false if end of sg
* list is reached.
*/
-static bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset)
+bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset)
{
sg_miter_stop(miter);
@@ -513,6 +513,7 @@ static bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset)
return true;
}
+EXPORT_SYMBOL(sg_miter_skip);
/**
* sg_miter_next - proceed mapping iterator to the next mapping