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
8bce7eb7
Commit
8bce7eb7
authored
Jun 26, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/bcm2835' into spi-next
parents
0470f68e
2d6e75e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
drivers/spi/spi-bcm2835.c
drivers/spi/spi-bcm2835.c
+3
-4
No files found.
drivers/spi/spi-bcm2835.c
View file @
8bce7eb7
...
...
@@ -331,10 +331,9 @@ static int bcm2835_spi_probe(struct platform_device *pdev)
goto
out_master_put
;
}
bs
->
regs
=
devm_request_and_ioremap
(
&
pdev
->
dev
,
res
);
if
(
!
bs
->
regs
)
{
dev_err
(
&
pdev
->
dev
,
"could not request/map memory region
\n
"
);
err
=
-
ENODEV
;
bs
->
regs
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
bs
->
regs
))
{
err
=
PTR_ERR
(
bs
->
regs
);
goto
out_master_put
;
}
...
...
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