File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -910,14 +910,6 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)
910
910
}
911
911
EXPORT_SYMBOL (dma_set_coherent_mask );
912
912
913
- /**
914
- * dma_addressing_limited - return if the device is addressing limited
915
- * @dev: device to check
916
- *
917
- * Return %true if the devices DMA mask is too small to address all memory in
918
- * the system, else %false. Lack of addressing bits is the prime reason for
919
- * bounce buffering, but might not be the only one.
920
- */
921
913
static bool __dma_addressing_limited (struct device * dev )
922
914
{
923
915
const struct dma_map_ops * ops = get_dma_ops (dev );
@@ -931,6 +923,14 @@ static bool __dma_addressing_limited(struct device *dev)
931
923
return !dma_direct_all_ram_mapped (dev );
932
924
}
933
925
926
+ /**
927
+ * dma_addressing_limited - return if the device is addressing limited
928
+ * @dev: device to check
929
+ *
930
+ * Return %true if the devices DMA mask is too small to address all memory in
931
+ * the system, else %false. Lack of addressing bits is the prime reason for
932
+ * bounce buffering, but might not be the only one.
933
+ */
934
934
bool dma_addressing_limited (struct device * dev )
935
935
{
936
936
if (!__dma_addressing_limited (dev ))
You can’t perform that action at this time.
0 commit comments