Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3effe789
Commit
3effe789
authored
May 02, 2008
by
Kevin Hilman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I2C: tvl320aic23: build as a module
Signed-off-by:
Kevin Hilman
<
khilman@mvista.com
>
parent
ed8a2f6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/i2c/chips/tlv320aic23.c
drivers/i2c/chips/tlv320aic23.c
+4
-1
No files found.
drivers/i2c/chips/tlv320aic23.c
View file @
3effe789
...
@@ -95,7 +95,9 @@ int aic23_write_value(u8 reg, u16 value)
...
@@ -95,7 +95,9 @@ int aic23_write_value(u8 reg, u16 value)
return
0
;
return
0
;
}
}
#ifdef CONFIG_SENSORS_TLV320AIC33
#if defined CONFIG_SENSORS_TLV320AIC33 || \
defined(CONFIG_SENSORS_TLV320AIC33_MODULE)
int
tlv320aic33_write_value
(
u8
reg
,
u16
value
)
int
tlv320aic33_write_value
(
u8
reg
,
u16
value
)
{
{
static
struct
i2c_client
*
client
;
static
struct
i2c_client
*
client
;
...
@@ -105,6 +107,7 @@ int tlv320aic33_write_value(u8 reg, u16 value)
...
@@ -105,6 +107,7 @@ int tlv320aic33_write_value(u8 reg, u16 value)
return
i2c_smbus_write_byte_data
(
client
,
reg
,
val
);
return
i2c_smbus_write_byte_data
(
client
,
reg
,
val
);
}
}
EXPORT_SYMBOL
(
tlv320aic33_write_value
);
#endif
/* CONFIG_SENSORS_TLV320AIC33 */
#endif
/* CONFIG_SENSORS_TLV320AIC33 */
static
int
aic23_detect_client
(
struct
i2c_adapter
*
adapter
,
int
address
,
static
int
aic23_detect_client
(
struct
i2c_adapter
*
adapter
,
int
address
,
...
...
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