Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3e4e0e44
Commit
3e4e0e44
authored
Sep 14, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix up __iomem warnings in the ehci driver.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
f6ab701a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-hcd.c
+3
-4
drivers/usb/host/ehci.h
drivers/usb/host/ehci.h
+2
-2
No files found.
drivers/usb/host/ehci-hcd.c
View file @
3e4e0e44
...
...
@@ -155,7 +155,7 @@ MODULE_PARM_DESC (log2_irq_thresh, "log2 IRQ latency, 1-64 microframes");
* before driver shutdown. But it also seems to be caused by bugs in cardbus
* bridge shutdown: shutting down the bridge before the devices using it.
*/
static
int
handshake
(
u32
*
ptr
,
u32
mask
,
u32
done
,
int
usec
)
static
int
handshake
(
void
__iomem
*
ptr
,
u32
mask
,
u32
done
,
int
usec
)
{
u32
result
;
...
...
@@ -340,9 +340,8 @@ static int ehci_hc_reset (struct usb_hcd *hcd)
spin_lock_init
(
&
ehci
->
lock
);
ehci
->
caps
=
(
struct
ehci_caps
*
)
hcd
->
regs
;
ehci
->
regs
=
(
struct
ehci_regs
*
)
(
hcd
->
regs
+
HC_LENGTH
(
readl
(
&
ehci
->
caps
->
hc_capbase
)));
ehci
->
caps
=
hcd
->
regs
;
ehci
->
regs
=
hcd
->
regs
+
HC_LENGTH
(
readl
(
&
ehci
->
caps
->
hc_capbase
));
dbg_hcs_params
(
ehci
,
"reset"
);
dbg_hcc_params
(
ehci
,
"reset"
);
...
...
drivers/usb/host/ehci.h
View file @
3e4e0e44
...
...
@@ -71,8 +71,8 @@ struct ehci_hcd { /* one per controller */
/* glue to PCI and HCD framework */
struct
usb_hcd
hcd
;
struct
ehci_caps
*
caps
;
struct
ehci_regs
*
regs
;
struct
ehci_caps
__iomem
*
caps
;
struct
ehci_regs
__iomem
*
regs
;
u32
hcs_params
;
/* cached register copy */
/* per-HC memory pools (could be per-bus, but ...) */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment