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
3489c9ad
Commit
3489c9ad
authored
Sep 13, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: fix up __iomem marking for i2c bus drivers
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
9543d252
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/i2c/busses/i2c-i810.c
drivers/i2c/busses/i2c-i810.c
+1
-1
drivers/i2c/busses/i2c-prosavage.c
drivers/i2c/busses/i2c-prosavage.c
+3
-3
drivers/i2c/busses/i2c-savage4.c
drivers/i2c/busses/i2c-savage4.c
+1
-1
drivers/i2c/busses/i2c-voodoo3.c
drivers/i2c/busses/i2c-voodoo3.c
+1
-1
No files found.
drivers/i2c/busses/i2c-i810.c
View file @
3489c9ad
...
...
@@ -70,7 +70,7 @@
#define CYCLE_DELAY 10
#define TIMEOUT (HZ / 2)
static
void
*
ioaddr
;
static
void
__iomem
*
ioaddr
;
/* The i810 GPIO registers have individual masks for each bit
so we never have to read before writing. Nice. */
...
...
drivers/i2c/busses/i2c-prosavage.c
View file @
3489c9ad
...
...
@@ -68,7 +68,7 @@
#define MAX_BUSSES 2
struct
s_i2c_bus
{
void
*
mmvga
;
void
__iomem
*
mmvga
;
int
i2c_reg
;
int
adap_ok
;
struct
i2c_adapter
adap
;
...
...
@@ -76,7 +76,7 @@ struct s_i2c_bus {
};
struct
s_i2c_chip
{
void
*
mmio
;
void
__iomem
*
mmio
;
struct
s_i2c_bus
i2c_bus
[
MAX_BUSSES
];
};
...
...
@@ -181,7 +181,7 @@ static int bit_s3via_getsda(void *bus)
/*
* adapter initialisation
*/
static
int
i2c_register_bus
(
struct
pci_dev
*
dev
,
struct
s_i2c_bus
*
p
,
u8
*
mmvga
,
u32
i2c_reg
)
static
int
i2c_register_bus
(
struct
pci_dev
*
dev
,
struct
s_i2c_bus
*
p
,
void
__iomem
*
mmvga
,
u32
i2c_reg
)
{
int
ret
;
p
->
adap
.
owner
=
THIS_MODULE
;
...
...
drivers/i2c/busses/i2c-savage4.c
View file @
3489c9ad
...
...
@@ -73,7 +73,7 @@
#define TIMEOUT (HZ / 2)
static
void
*
ioaddr
;
static
void
__iomem
*
ioaddr
;
/* The sav GPIO registers don't have individual masks for each bit
so we always have to read before writing. */
...
...
drivers/i2c/busses/i2c-voodoo3.c
View file @
3489c9ad
...
...
@@ -61,7 +61,7 @@
#define TIMEOUT (HZ / 2)
static
void
*
ioaddr
;
static
void
__iomem
*
ioaddr
;
/* The voo GPIO registers don't have individual masks for each bit
so we always have to read before writing. */
...
...
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