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
3304a580
Commit
3304a580
authored
Mar 13, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scope of init/exit functions in ds1620.c
NetWinder flash driver should use ioremap, not the private __ioremap.
parent
1f67bb2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/char/ds1620.c
drivers/char/ds1620.c
+2
-2
drivers/char/nwflash.c
drivers/char/nwflash.c
+1
-1
No files found.
drivers/char/ds1620.c
View file @
3304a580
...
...
@@ -348,7 +348,7 @@ static struct miscdevice ds1620_miscdev = {
&
ds1620_fops
};
int
__init
ds1620_init
(
void
)
static
int
__init
ds1620_init
(
void
)
{
int
ret
;
struct
therm
th
,
th_start
;
...
...
@@ -400,7 +400,7 @@ int __init ds1620_init(void)
return
0
;
}
void
__exit
ds1620_exit
(
void
)
static
void
__exit
ds1620_exit
(
void
)
{
#ifdef THERM_USE_PROC
remove_proc_entry
(
"therm"
,
NULL
);
...
...
drivers/char/nwflash.c
View file @
3304a580
...
...
@@ -672,7 +672,7 @@ static int __init nwflash_init(void)
if
(
machine_is_netwinder
())
{
int
id
;
FLASH_BASE
=
__ioremap
(
DC21285_FLASH
,
KFLASH_SIZE4
,
0
);
FLASH_BASE
=
ioremap
(
DC21285_FLASH
,
KFLASH_SIZE4
);
if
(
!
FLASH_BASE
)
goto
out
;
...
...
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