Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
d970a073
Commit
d970a073
authored
Jun 04, 2009
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxc nand: use resource_size()
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
a4ad57f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/mtd/nand/mxc_nand.c
drivers/mtd/nand/mxc_nand.c
+1
-1
No files found.
drivers/mtd/nand/mxc_nand.c
View file @
d970a073
...
@@ -865,7 +865,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
...
@@ -865,7 +865,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
goto
eres
;
goto
eres
;
}
}
host
->
regs
=
ioremap
(
res
->
start
,
res
->
end
-
res
->
start
+
1
);
host
->
regs
=
ioremap
(
res
->
start
,
res
ource_size
(
res
)
);
if
(
!
host
->
regs
)
{
if
(
!
host
->
regs
)
{
err
=
-
ENOMEM
;
err
=
-
ENOMEM
;
goto
eres
;
goto
eres
;
...
...
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