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
f6ab701a
Commit
f6ab701a
authored
Sep 14, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix hcd-pci's __iomem warnings
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
cd1f7667
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/usb/core/hcd-pci.c
drivers/usb/core/hcd-pci.c
+2
-2
drivers/usb/core/hcd.h
drivers/usb/core/hcd.h
+1
-1
No files found.
drivers/usb/core/hcd-pci.c
View file @
f6ab701a
...
...
@@ -65,7 +65,7 @@ int usb_hcd_pci_probe (struct pci_dev *dev, const struct pci_device_id *id)
{
struct
hc_driver
*
driver
;
unsigned
long
resource
,
len
;
void
*
base
;
void
__iomem
*
base
;
struct
usb_hcd
*
hcd
;
int
retval
,
region
;
char
buf
[
8
],
*
bufp
=
buf
;
...
...
@@ -121,7 +121,7 @@ int usb_hcd_pci_probe (struct pci_dev *dev, const struct pci_device_id *id)
dev_dbg
(
&
dev
->
dev
,
"no i/o regions available
\n
"
);
return
-
EBUSY
;
}
base
=
(
void
*
)
resource
;
base
=
(
void
__iomem
*
)
resource
;
}
// driver->reset(), later on, will transfer device from
...
...
drivers/usb/core/hcd.h
View file @
f6ab701a
...
...
@@ -76,7 +76,7 @@ struct usb_hcd { /* usb_bus.hcpriv points to this */
unsigned
can_wakeup
:
1
;
/* hw supports wakeup? */
unsigned
remote_wakeup
:
1
;
/* sw should use wakeup? */
int
irq
;
/* irq allocated */
void
*
regs
;
/* device memory/io */
void
__iomem
*
regs
;
/* device memory/io */
#ifdef CONFIG_PCI
int
region
;
/* pci region for 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