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
35d8faae
Commit
35d8faae
authored
Oct 30, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add __iomem annotations to ARM amba drivers.
parent
bba10cd3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
arch/arm/common/amba.c
arch/arm/common/amba.c
+1
-1
drivers/mmc/mmci.c
drivers/mmc/mmci.c
+6
-6
drivers/mmc/mmci.h
drivers/mmc/mmci.h
+1
-1
drivers/serial/amba-pl011.c
drivers/serial/amba-pl011.c
+1
-1
include/asm-arm/hardware/amba_clcd.h
include/asm-arm/hardware/amba_clcd.h
+1
-1
No files found.
arch/arm/common/amba.c
View file @
35d8faae
...
...
@@ -194,7 +194,7 @@ amba_attr(resource, "\t%08lx\t%08lx\t%08lx\n",
int
amba_device_register
(
struct
amba_device
*
dev
,
struct
resource
*
parent
)
{
u32
pid
,
cid
;
void
*
tmp
;
void
__iomem
*
tmp
;
int
i
,
ret
;
dev
->
dev
.
release
=
amba_device_release
;
...
...
drivers/mmc/mmci.c
View file @
35d8faae
...
...
@@ -69,7 +69,7 @@ static void mmci_stop_data(struct mmci_host *host)
static
void
mmci_start_data
(
struct
mmci_host
*
host
,
struct
mmc_data
*
data
)
{
unsigned
int
datactrl
,
timeout
,
irqmask
;
void
*
base
;
void
__iomem
*
base
;
DBG
(
host
,
"blksz %04x blks %04x flags %08x
\n
"
,
1
<<
data
->
blksz_bits
,
data
->
blocks
,
data
->
flags
);
...
...
@@ -108,7 +108,7 @@ static void mmci_start_data(struct mmci_host *host, struct mmc_data *data)
static
void
mmci_start_command
(
struct
mmci_host
*
host
,
struct
mmc_command
*
cmd
,
u32
c
)
{
void
*
base
=
host
->
base
;
void
__iomem
*
base
=
host
->
base
;
DBG
(
host
,
"op %02x arg %08x flags %08x
\n
"
,
cmd
->
opcode
,
cmd
->
arg
,
cmd
->
flags
);
...
...
@@ -169,7 +169,7 @@ static void
mmci_cmd_irq
(
struct
mmci_host
*
host
,
struct
mmc_command
*
cmd
,
unsigned
int
status
)
{
void
*
base
=
host
->
base
;
void
__iomem
*
base
=
host
->
base
;
host
->
cmd
=
NULL
;
...
...
@@ -193,7 +193,7 @@ mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd,
static
int
mmci_pio_read
(
struct
mmci_host
*
host
,
char
*
buffer
,
unsigned
int
remain
)
{
void
*
base
=
host
->
base
;
void
__iomem
*
base
=
host
->
base
;
char
*
ptr
=
buffer
;
u32
status
;
...
...
@@ -222,7 +222,7 @@ static int mmci_pio_read(struct mmci_host *host, char *buffer, unsigned int rema
static
int
mmci_pio_write
(
struct
mmci_host
*
host
,
char
*
buffer
,
unsigned
int
remain
,
u32
status
)
{
void
*
base
=
host
->
base
;
void
__iomem
*
base
=
host
->
base
;
char
*
ptr
=
buffer
;
do
{
...
...
@@ -251,7 +251,7 @@ static int mmci_pio_write(struct mmci_host *host, char *buffer, unsigned int rem
static
irqreturn_t
mmci_pio_irq
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
struct
mmci_host
*
host
=
dev_id
;
void
*
base
=
host
->
base
;
void
__iomem
*
base
=
host
->
base
;
u32
status
;
status
=
readl
(
base
+
MMCISTATUS
);
...
...
drivers/mmc/mmci.h
View file @
35d8faae
...
...
@@ -120,7 +120,7 @@
struct
clk
;
struct
mmci_host
{
void
*
base
;
void
__iomem
*
base
;
struct
mmc_request
*
mrq
;
struct
mmc_command
*
cmd
;
struct
mmc_data
*
data
;
...
...
drivers/serial/amba-pl011.c
View file @
35d8faae
...
...
@@ -745,7 +745,7 @@ static struct uart_driver amba_reg = {
static
int
pl011_probe
(
struct
amba_device
*
dev
,
void
*
id
)
{
struct
uart_amba_port
*
uap
;
void
*
base
;
void
__iomem
*
base
;
int
i
,
ret
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
amba_ports
);
i
++
)
...
...
include/asm-arm/hardware/amba_clcd.h
View file @
35d8faae
...
...
@@ -141,7 +141,7 @@ struct clcd_fb {
struct
clcd_panel
*
panel
;
struct
clcd_board
*
board
;
void
*
board_data
;
void
*
regs
;
void
__iomem
*
regs
;
u32
clcd_cntl
;
u32
cmap
[
16
];
};
...
...
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