diff options
author | Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> | 2010-01-21 08:58:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:37 -0500 |
commit | 8af6096caf8b3fb7ee33e636c44a29f373d27df5 (patch) | |
tree | 8fdf3981f122de0981d2dd66787e8ab05e68b5f4 /drivers/usb/host | |
parent | 0880aef49e40abd1ed34ab713e8b024e8bc2021e (diff) |
USB: remove obsolete config in kernel source (USB_HCD_DMA)
The configuration Option USB_HCD_DMA is not reachable in KConfig so
this piece of Code is effectively dead and useless. Remove it to avoid
confusion.
Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 5596fc1a75aa..217fb5170200 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -2719,24 +2719,11 @@ static int __init isp1362_probe(struct platform_device *pdev) | |||
2719 | } | 2719 | } |
2720 | irq = irq_res->start; | 2720 | irq = irq_res->start; |
2721 | 2721 | ||
2722 | #ifdef CONFIG_USB_HCD_DMA | ||
2723 | if (pdev->dev.dma_mask) { | ||
2724 | struct resource *dma_res = platform_get_resource(pdev, IORESOURCE_MEM, 2); | ||
2725 | |||
2726 | if (!dma_res) { | ||
2727 | retval = -ENODEV; | ||
2728 | goto err1; | ||
2729 | } | ||
2730 | isp1362_hcd->data_dma = dma_res->start; | ||
2731 | isp1362_hcd->max_dma_size = resource_len(dma_res); | ||
2732 | } | ||
2733 | #else | ||
2734 | if (pdev->dev.dma_mask) { | 2722 | if (pdev->dev.dma_mask) { |
2735 | DBG(1, "won't do DMA"); | 2723 | DBG(1, "won't do DMA"); |
2736 | retval = -ENODEV; | 2724 | retval = -ENODEV; |
2737 | goto err1; | 2725 | goto err1; |
2738 | } | 2726 | } |
2739 | #endif | ||
2740 | 2727 | ||
2741 | if (!request_mem_region(addr->start, resource_len(addr), hcd_name)) { | 2728 | if (!request_mem_region(addr->start, resource_len(addr), hcd_name)) { |
2742 | retval = -EBUSY; | 2729 | retval = -EBUSY; |