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
a9bd1820
Commit
a9bd1820
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/adav80x' into asoc-next
parents
e303c42d
e394fe55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
sound/soc/codecs/adav80x.c
sound/soc/codecs/adav80x.c
+10
-3
No files found.
sound/soc/codecs/adav80x.c
View file @
a9bd1820
...
...
@@ -868,6 +868,12 @@ static int adav80x_bus_remove(struct device *dev)
}
#if defined(CONFIG_SPI_MASTER)
static
const
struct
spi_device_id
adav80x_spi_id
[]
=
{
{
"adav801"
,
0
},
{
}
};
MODULE_DEVICE_TABLE
(
spi
,
adav80x_spi_id
);
static
int
adav80x_spi_probe
(
struct
spi_device
*
spi
)
{
return
adav80x_bus_probe
(
&
spi
->
dev
,
SND_SOC_SPI
);
...
...
@@ -885,15 +891,16 @@ static struct spi_driver adav80x_spi_driver = {
},
.
probe
=
adav80x_spi_probe
,
.
remove
=
adav80x_spi_remove
,
.
id_table
=
adav80x_spi_id
,
};
#endif
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
static
const
struct
i2c_device_id
adav80x_id
[]
=
{
static
const
struct
i2c_device_id
adav80x_i
2c_i
d
[]
=
{
{
"adav803"
,
0
},
{
}
};
MODULE_DEVICE_TABLE
(
i2c
,
adav80x_id
);
MODULE_DEVICE_TABLE
(
i2c
,
adav80x_i
2c_i
d
);
static
int
adav80x_i2c_probe
(
struct
i2c_client
*
client
,
const
struct
i2c_device_id
*
id
)
...
...
@@ -913,7 +920,7 @@ static struct i2c_driver adav80x_i2c_driver = {
},
.
probe
=
adav80x_i2c_probe
,
.
remove
=
adav80x_i2c_remove
,
.
id_table
=
adav80x_id
,
.
id_table
=
adav80x_i
2c_i
d
,
};
#endif
...
...
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