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
28eb41dd
Commit
28eb41dd
authored
Nov 13, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Add sparse __iomem annotations.
parent
9ba41447
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/serial/8250_pci.c
drivers/serial/8250_pci.c
+3
-3
include/linux/serial_core.h
include/linux/serial_core.h
+1
-1
No files found.
drivers/serial/8250_pci.c
View file @
28eb41dd
...
...
@@ -283,7 +283,7 @@ static int __devinit pci_plx9050_init(struct pci_dev *dev)
static
void
__devexit
pci_plx9050_exit
(
struct
pci_dev
*
dev
)
{
u8
*
p
;
u8
__iomem
*
p
;
if
((
pci_resource_flags
(
dev
,
0
)
&
IORESOURCE_MEM
)
==
0
)
return
;
...
...
@@ -336,7 +336,7 @@ sbs_setup(struct pci_dev *dev, struct pci_board *board,
static
int
__devinit
sbs_init
(
struct
pci_dev
*
dev
)
{
u8
*
p
;
u8
__iomem
*
p
;
p
=
ioremap
(
pci_resource_start
(
dev
,
0
),
pci_resource_len
(
dev
,
0
));
...
...
@@ -360,7 +360,7 @@ static int __devinit sbs_init(struct pci_dev *dev)
static
void
__devexit
sbs_exit
(
struct
pci_dev
*
dev
)
{
u8
*
p
;
u8
__iomem
*
p
;
p
=
ioremap
(
pci_resource_start
(
dev
,
0
),
pci_resource_len
(
dev
,
0
));
if
(
p
!=
NULL
)
{
...
...
include/linux/serial_core.h
View file @
28eb41dd
...
...
@@ -171,7 +171,7 @@ struct uart_icount {
struct
uart_port
{
spinlock_t
lock
;
/* port lock */
unsigned
int
iobase
;
/* in/out[bwl] */
char
*
membase
;
/* read/write[bwl] */
unsigned
char
__iomem
*
membase
;
/* read/write[bwl] */
unsigned
int
irq
;
/* irq number */
unsigned
int
uartclk
;
/* base uart clock */
unsigned
char
fifosize
;
/* tx fifo size */
...
...
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