Re: RFH: Converting a driver from semaphore to mutex in 2.6.21

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux