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
605d427c
Commit
605d427c
authored
Oct 25, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/topcliff' into spi-next
parents
176c51c1
9553821e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/spi/spi-topcliff-pch.c
drivers/spi/spi-topcliff-pch.c
+2
-2
No files found.
drivers/spi/spi-topcliff-pch.c
View file @
605d427c
...
...
@@ -1411,13 +1411,13 @@ static int pch_spi_pd_probe(struct platform_device *plat_dev)
/* baseaddress + address offset) */
data
->
io_base_addr
=
pci_resource_start
(
board_dat
->
pdev
,
1
)
+
PCH_ADDRESS_SIZE
*
plat_dev
->
id
;
data
->
io_remap_addr
=
pci_iomap
(
board_dat
->
pdev
,
1
,
0
)
+
PCH_ADDRESS_SIZE
*
plat_dev
->
id
;
data
->
io_remap_addr
=
pci_iomap
(
board_dat
->
pdev
,
1
,
0
);
if
(
!
data
->
io_remap_addr
)
{
dev_err
(
&
plat_dev
->
dev
,
"%s pci_iomap failed
\n
"
,
__func__
);
ret
=
-
ENOMEM
;
goto
err_pci_iomap
;
}
data
->
io_remap_addr
+=
PCH_ADDRESS_SIZE
*
plat_dev
->
id
;
dev_dbg
(
&
plat_dev
->
dev
,
"[ch%d] remap_addr=%p
\n
"
,
plat_dev
->
id
,
data
->
io_remap_addr
);
...
...
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