Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160797
b: refs/heads/master
c: f346bec
h: refs/heads/master
i:
  160795: 99a1be4
v: v3
  • Loading branch information
wanzongshun authored and Russell King committed Aug 15, 2009
1 parent baf7407 commit 17c9573
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58b5369e6eb6c889b540a99aa95562a66b25acf1
refs/heads/master: f346becf2fdba4d9dc023d28bc9a28f74dc9e4ac
18 changes: 9 additions & 9 deletions trunk/arch/arm/mach-w90x900/mfp-w90p910.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#define ENI2C0 (0x01 << 14)
#define ENI2C1 (0x01 << 16)

static DECLARE_MUTEX(mfp_sem);
static DEFINE_MUTEX(mfp_mutex);

void mfp_set_groupf(struct device *dev)
{
Expand All @@ -49,7 +49,7 @@ void mfp_set_groupf(struct device *dev)

BUG_ON(!dev);

down(&mfp_sem);
mutex_lock(&mfp_mutex);

dev_id = dev_name(dev);

Expand All @@ -62,7 +62,7 @@ void mfp_set_groupf(struct device *dev)

__raw_writel(mfpen, REG_MFSEL);

up(&mfp_sem);
mutex_unlock(&mfp_mutex);
}
EXPORT_SYMBOL(mfp_set_groupf);

Expand All @@ -73,7 +73,7 @@ void mfp_set_groupc(struct device *dev)

BUG_ON(!dev);

down(&mfp_sem);
mutex_lock(&mfp_mutex);

dev_id = dev_name(dev);

Expand All @@ -92,7 +92,7 @@ void mfp_set_groupc(struct device *dev)

__raw_writel(mfpen, REG_MFSEL);

up(&mfp_sem);
mutex_unlock(&mfp_mutex);
}
EXPORT_SYMBOL(mfp_set_groupc);

Expand All @@ -103,7 +103,7 @@ void mfp_set_groupi(struct device *dev)

BUG_ON(!dev);

down(&mfp_sem);
mutex_lock(&mfp_mutex);

dev_id = dev_name(dev);

Expand All @@ -120,7 +120,7 @@ void mfp_set_groupi(struct device *dev)

__raw_writel(mfpen, REG_MFSEL);

up(&mfp_sem);
mutex_unlock(&mfp_mutex);
}
EXPORT_SYMBOL(mfp_set_groupi);

Expand All @@ -131,7 +131,7 @@ void mfp_set_groupg(struct device *dev)

BUG_ON(!dev);

down(&mfp_sem);
mutex_lock(&mfp_mutex);

dev_id = dev_name(dev);

Expand All @@ -152,7 +152,7 @@ void mfp_set_groupg(struct device *dev)

__raw_writel(mfpen, REG_MFSEL);

up(&mfp_sem);
mutex_unlock(&mfp_mutex);
}
EXPORT_SYMBOL(mfp_set_groupg);

0 comments on commit 17c9573

Please sign in to comment.