X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Ftpm%2Ftpm.h;h=b2e2b002a1bbce7e48b2c8b62e131aeeceb5ba72;hb=de5603748af8bf7deac403e6ba92887f8d18e812;hp=050ced247f68018224addcc572e7faa7f6f47fec;hpb=5dd8816aeb1f068ade0349a22009ff7a66f25413;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 050ced247f6..b2e2b002a1b 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -19,9 +19,10 @@ * */ #include -#include #include #include +#include +#include #include #include #include @@ -94,11 +95,11 @@ struct tpm_chip { /* Data passed to and from the tpm via the read/write calls */ u8 *data_buffer; atomic_t data_pending; - struct semaphore buffer_mutex; + struct mutex buffer_mutex; struct timer_list user_read_timer; /* user needs to claim result */ struct work_struct work; - struct semaphore tpm_mutex; /* tpm is processing */ + struct mutex tpm_mutex; /* tpm is processing */ struct tpm_vendor_specific vendor;