Re: RFH: Converting a driver from semaphore to mutex in 2.6.21
From: Pekka Enberg
Date: Thu Jul 12 2007 - 09:04:27 EST
On 7/12/07, Martijn Uffing <mp3project@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I must miss something really really obvious, but I really can't find it.
[snip]
drivers/i2c/chips/bt869.c:63: error: field `update_lock' has incomplete type
[snip]
@@ -59,7 +60,7 @@ struct bt869_data {
struct i2c_client client;
int sysctl_id;
- struct semaphore update_lock;
+ struct mutex_debug update_lock;
^^^^^^
s/struct mutex_debug/struct mutex/g. Follow-ups to
http://kernelnewbies.org/ please.
Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/