diff options
Diffstat (limited to 'drivers/usb/host/isp1362-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 217fb5170200..20a0dfe0fe36 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -77,6 +77,7 @@ | |||
77 | #include <linux/interrupt.h> | 77 | #include <linux/interrupt.h> |
78 | #include <linux/usb.h> | 78 | #include <linux/usb.h> |
79 | #include <linux/usb/isp1362.h> | 79 | #include <linux/usb/isp1362.h> |
80 | #include <linux/usb/hcd.h> | ||
80 | #include <linux/platform_device.h> | 81 | #include <linux/platform_device.h> |
81 | #include <linux/pm.h> | 82 | #include <linux/pm.h> |
82 | #include <linux/io.h> | 83 | #include <linux/io.h> |
@@ -95,7 +96,6 @@ module_param(dbg_level, int, 0); | |||
95 | #define STUB_DEBUG_FILE | 96 | #define STUB_DEBUG_FILE |
96 | #endif | 97 | #endif |
97 | 98 | ||
98 | #include "../core/hcd.h" | ||
99 | #include "../core/usb.h" | 99 | #include "../core/usb.h" |
100 | #include "isp1362.h" | 100 | #include "isp1362.h" |
101 | 101 | ||
@@ -1265,7 +1265,7 @@ static int isp1362_urb_enqueue(struct usb_hcd *hcd, | |||
1265 | 1265 | ||
1266 | /* don't submit to a dead or disabled port */ | 1266 | /* don't submit to a dead or disabled port */ |
1267 | if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) & | 1267 | if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) & |
1268 | (1 << USB_PORT_FEAT_ENABLE)) || | 1268 | USB_PORT_STAT_ENABLE) || |
1269 | !HC_IS_RUNNING(hcd->state)) { | 1269 | !HC_IS_RUNNING(hcd->state)) { |
1270 | kfree(ep); | 1270 | kfree(ep); |
1271 | retval = -ENODEV; | 1271 | retval = -ENODEV; |
@@ -2217,7 +2217,7 @@ static void create_debug_file(struct isp1362_hcd *isp1362_hcd) | |||
2217 | static void remove_debug_file(struct isp1362_hcd *isp1362_hcd) | 2217 | static void remove_debug_file(struct isp1362_hcd *isp1362_hcd) |
2218 | { | 2218 | { |
2219 | if (isp1362_hcd->pde) | 2219 | if (isp1362_hcd->pde) |
2220 | remove_proc_entry(proc_filename, 0); | 2220 | remove_proc_entry(proc_filename, NULL); |
2221 | } | 2221 | } |
2222 | 2222 | ||
2223 | #endif | 2223 | #endif |