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
4c4b8da1
Commit
4c4b8da1
authored
Oct 25, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/fix/modalias' into spi-linus
parents
5b66fd18
cf9eb39c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/spi/spi.c
drivers/spi/spi.c
+1
-1
No files found.
drivers/spi/spi.c
View file @
4c4b8da1
...
@@ -1025,7 +1025,7 @@ static acpi_status acpi_spi_add_device(acpi_handle handle, u32 level,
...
@@ -1025,7 +1025,7 @@ static acpi_status acpi_spi_add_device(acpi_handle handle, u32 level,
return
AE_OK
;
return
AE_OK
;
}
}
strlcpy
(
spi
->
modalias
,
dev_name
(
&
adev
->
dev
),
sizeof
(
spi
->
modalias
));
strlcpy
(
spi
->
modalias
,
acpi_device_hid
(
a
dev
),
sizeof
(
spi
->
modalias
));
if
(
spi_add_device
(
spi
))
{
if
(
spi_add_device
(
spi
))
{
dev_err
(
&
master
->
dev
,
"failed to add SPI device %s from ACPI
\n
"
,
dev_err
(
&
master
->
dev
,
"failed to add SPI device %s from ACPI
\n
"
,
dev_name
(
&
adev
->
dev
));
dev_name
(
&
adev
->
dev
));
...
...
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