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
2924f096
Commit
2924f096
authored
Jun 26, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/coldfire-qspi' into spi-next
parents
4581949d
4a577f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
drivers/spi/spi-coldfire-qspi.c
drivers/spi/spi-coldfire-qspi.c
+6
-5
No files found.
drivers/spi/spi-coldfire-qspi.c
View file @
2924f096
...
...
@@ -400,6 +400,12 @@ static int mcfqspi_probe(struct platform_device *pdev)
struct
mcfqspi_platform_data
*
pdata
;
int
status
;
pdata
=
pdev
->
dev
.
platform_data
;
if
(
!
pdata
)
{
dev_dbg
(
&
pdev
->
dev
,
"platform data is missing
\n
"
);
return
-
ENOENT
;
}
master
=
spi_alloc_master
(
&
pdev
->
dev
,
sizeof
(
*
mcfqspi
));
if
(
master
==
NULL
)
{
dev_dbg
(
&
pdev
->
dev
,
"spi_alloc_master failed
\n
"
);
...
...
@@ -450,11 +456,6 @@ static int mcfqspi_probe(struct platform_device *pdev)
}
clk_enable
(
mcfqspi
->
clk
);
pdata
=
pdev
->
dev
.
platform_data
;
if
(
!
pdata
)
{
dev_dbg
(
&
pdev
->
dev
,
"platform data is missing
\n
"
);
goto
fail4
;
}
master
->
bus_num
=
pdata
->
bus_num
;
master
->
num_chipselect
=
pdata
->
num_chipselect
;
...
...
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