On Thu, 12 Jul 2007, Pekka Enberg wrote:

On 7/12/07, Martijn Uffing <[EMAIL PROTECTED]> 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


Yup that works, thanks!
I thought that since I had "CONFIG_DEBUG_MUTEXES=y" in my .config that struct mutex_debug should work. Apparently not.


Greetz
Martijn.



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to