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
nexedi
linux
Commits
0bc6fe2f
Commit
0bc6fe2f
authored
Feb 27, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] Fix build errors in Lubbock MTD map driver.
parent
afc2ce80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/mtd/maps/lubbock-flash.c
drivers/mtd/maps/lubbock-flash.c
+3
-3
No files found.
drivers/mtd/maps/lubbock-flash.c
View file @
0bc6fe2f
...
@@ -74,7 +74,7 @@ static int __init init_lubbock(void)
...
@@ -74,7 +74,7 @@ static int __init init_lubbock(void)
lubbock_maps
[
flashboot
].
name
=
"Lubbock Boot ROM"
;
lubbock_maps
[
flashboot
].
name
=
"Lubbock Boot ROM"
;
for
(
i
=
0
;
i
<
2
;
i
++
)
{
for
(
i
=
0
;
i
<
2
;
i
++
)
{
lubbock_maps
[
i
].
virt
=
(
unsigned
long
)
__ioremap
(
lubbock_maps
[
i
].
phys
,
WINDOW_SIZE
,
0
);
lubbock_maps
[
i
].
virt
=
(
unsigned
long
)
ioremap
(
lubbock_maps
[
i
].
phys
,
WINDOW_SIZE
);
if
(
!
lubbock_maps
[
i
].
virt
)
{
if
(
!
lubbock_maps
[
i
].
virt
)
{
printk
(
KERN_WARNING
"Failed to ioremap %s
\n
"
,
lubbock_maps
[
i
].
name
);
printk
(
KERN_WARNING
"Failed to ioremap %s
\n
"
,
lubbock_maps
[
i
].
name
);
if
(
!
ret
)
if
(
!
ret
)
...
@@ -97,8 +97,8 @@ static int __init init_lubbock(void)
...
@@ -97,8 +97,8 @@ static int __init init_lubbock(void)
}
}
mymtds
[
i
]
->
owner
=
THIS_MODULE
;
mymtds
[
i
]
->
owner
=
THIS_MODULE
;
int
ret
=
parse_mtd_partitions
(
mymtds
[
i
],
probes
,
ret
=
parse_mtd_partitions
(
mymtds
[
i
],
probes
,
&
parsed_parts
[
i
],
0
);
&
parsed_parts
[
i
],
0
);
if
(
ret
>
0
)
if
(
ret
>
0
)
nr_parsed_parts
[
i
]
=
ret
;
nr_parsed_parts
[
i
]
=
ret
;
...
...
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