diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-21 13:26:32 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-21 13:26:32 +0000 |
commit | 04451b436972de653804d0a178de648093453d53 (patch) | |
tree | 94cc766d28427f327a786cf330d82d70dcda8252 /firmware/target/arm/i2c-telechips.c | |
parent | 3236c626f4469c07c61b82c918ceee04b1591fac (diff) |
Fix missing i2c mutex initialisation for telechips.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21445 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/i2c-telechips.c')
-rw-r--r-- | firmware/target/arm/i2c-telechips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/i2c-telechips.c b/firmware/target/arm/i2c-telechips.c index fb341c7905..9226617b14 100644 --- a/firmware/target/arm/i2c-telechips.c +++ b/firmware/target/arm/i2c-telechips.c @@ -36,7 +36,7 @@ static struct mutex i2c_mtx; void i2c_init(void) { - /* nothing to do */ + mutex_init(&i2c_mtx); } void i2c_start(void) |