lkml.org 
[lkml]   [2007]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFH: Converting a driver from semaphore to mutex in 2.6.21
On 7/12/07, Martijn Uffing <mp3project@sarijopen.student.utwente.nl> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-12 15:07    [W:0.028 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site