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
nexedi
linux
Commits
2d31f964
Commit
2d31f964
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 ohci driver.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
3e4e0e44
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/usb/host/ohci-dbg.c
drivers/usb/host/ohci-dbg.c
+2
-2
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-hcd.c
+1
-1
drivers/usb/host/ohci-hub.c
drivers/usb/host/ohci-hub.c
+1
-1
drivers/usb/host/ohci.h
drivers/usb/host/ohci.h
+2
-2
No files found.
drivers/usb/host/ohci-dbg.c
View file @
2d31f964
...
...
@@ -131,7 +131,7 @@ static char *hcfs2string (int state)
static
void
ohci_dump_status
(
struct
ohci_hcd
*
controller
,
char
**
next
,
unsigned
*
size
)
{
struct
ohci_regs
*
regs
=
controller
->
regs
;
struct
ohci_regs
__iomem
*
regs
=
controller
->
regs
;
u32
temp
;
temp
=
ohci_readl
(
&
regs
->
revision
)
&
0xff
;
...
...
@@ -599,7 +599,7 @@ show_registers (struct class_device *class_dev, char *buf)
struct
usb_bus
*
bus
;
struct
usb_hcd
*
hcd
;
struct
ohci_hcd
*
ohci
;
struct
ohci_regs
*
regs
;
struct
ohci_regs
__iomem
*
regs
;
unsigned
long
flags
;
unsigned
temp
,
size
;
char
*
next
;
...
...
drivers/usb/host/ohci-hcd.c
View file @
2d31f964
...
...
@@ -679,7 +679,7 @@ static int ohci_run (struct ohci_hcd *ohci)
static
irqreturn_t
ohci_irq
(
struct
usb_hcd
*
hcd
,
struct
pt_regs
*
ptregs
)
{
struct
ohci_hcd
*
ohci
=
hcd_to_ohci
(
hcd
);
struct
ohci_regs
*
regs
=
ohci
->
regs
;
struct
ohci_regs
__iomem
*
regs
=
ohci
->
regs
;
int
ints
;
/* we can eliminate a (slow) ohci_readl()
...
...
drivers/usb/host/ohci-hub.c
View file @
2d31f964
...
...
@@ -468,7 +468,7 @@ static void start_hnp(struct ohci_hcd *ohci);
/* called from some task, normally khubd */
static
inline
void
root_port_reset
(
struct
ohci_hcd
*
ohci
,
unsigned
port
)
{
u32
*
portstat
=
&
ohci
->
regs
->
roothub
.
portstatus
[
port
];
u32
__iomem
*
portstat
=
&
ohci
->
regs
->
roothub
.
portstatus
[
port
];
u32
temp
;
u16
now
=
readl
(
&
ohci
->
regs
->
fmnumber
);
u16
reset_done
=
now
+
PORT_RESET_MSEC
;
...
...
drivers/usb/host/ohci.h
View file @
2d31f964
...
...
@@ -342,7 +342,7 @@ struct ohci_hcd {
/*
* I/O memory used to communicate with the HC (dma-consistent)
*/
struct
ohci_regs
*
regs
;
struct
ohci_regs
__iomem
*
regs
;
/*
* main memory used to communicate with the HC (dma-consistent).
...
...
@@ -452,7 +452,7 @@ static inline unsigned int ohci_readl (void* regs)
#else
/* Standard version of ohci_readl uses standard, platform
* specific implementation. */
static
inline
unsigned
int
ohci_readl
(
void
*
regs
)
static
inline
unsigned
int
ohci_readl
(
void
__iomem
*
regs
)
{
return
readl
(
regs
);
}
...
...
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