aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/usb.c')
-rw-r--r--drivers/usb/core/usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 097172e2ba06..8180ce533ebf 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -881,6 +881,7 @@ void usb_buffer_unmap(struct urb *urb)
881EXPORT_SYMBOL_GPL(usb_buffer_unmap); 881EXPORT_SYMBOL_GPL(usb_buffer_unmap);
882#endif /* 0 */ 882#endif /* 0 */
883 883
884#if 0
884/** 885/**
885 * usb_buffer_map_sg - create scatterlist DMA mapping(s) for an endpoint 886 * usb_buffer_map_sg - create scatterlist DMA mapping(s) for an endpoint
886 * @dev: device to which the scatterlist will be mapped 887 * @dev: device to which the scatterlist will be mapped
@@ -924,6 +925,7 @@ int usb_buffer_map_sg(const struct usb_device *dev, int is_in,
924 is_in ? DMA_FROM_DEVICE : DMA_TO_DEVICE) ? : -ENOMEM; 925 is_in ? DMA_FROM_DEVICE : DMA_TO_DEVICE) ? : -ENOMEM;
925} 926}
926EXPORT_SYMBOL_GPL(usb_buffer_map_sg); 927EXPORT_SYMBOL_GPL(usb_buffer_map_sg);
928#endif
927 929
928/* XXX DISABLED, no users currently. If you wish to re-enable this 930/* XXX DISABLED, no users currently. If you wish to re-enable this
929 * XXX please determine whether the sync is to transfer ownership of 931 * XXX please determine whether the sync is to transfer ownership of
@@ -960,6 +962,7 @@ void usb_buffer_dmasync_sg(const struct usb_device *dev, int is_in,
960EXPORT_SYMBOL_GPL(usb_buffer_dmasync_sg); 962EXPORT_SYMBOL_GPL(usb_buffer_dmasync_sg);
961#endif 963#endif
962 964
965#if 0
963/** 966/**
964 * usb_buffer_unmap_sg - free DMA mapping(s) for a scatterlist 967 * usb_buffer_unmap_sg - free DMA mapping(s) for a scatterlist
965 * @dev: device to which the scatterlist will be mapped 968 * @dev: device to which the scatterlist will be mapped
@@ -985,6 +988,7 @@ void usb_buffer_unmap_sg(const struct usb_device *dev, int is_in,
985 is_in ? DMA_FROM_DEVICE : DMA_TO_DEVICE); 988 is_in ? DMA_FROM_DEVICE : DMA_TO_DEVICE);
986} 989}
987EXPORT_SYMBOL_GPL(usb_buffer_unmap_sg); 990EXPORT_SYMBOL_GPL(usb_buffer_unmap_sg);
991#endif
988 992
989/* To disable USB, kernel command line is 'nousb' not 'usbcore.nousb' */ 993/* To disable USB, kernel command line is 'nousb' not 'usbcore.nousb' */
990#ifdef MODULE 994#ifdef MODULE