mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-01 19:41:19 +00:00
Parallel port: convert port_mutex to the mutex API
Parallel port: Convert port_mutex to the mutex API [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8f47f0b688
commit
0a5dcb5177
2 changed files with 7 additions and 7 deletions
|
@ -99,7 +99,7 @@
|
|||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/wait.h>
|
||||
#include <asm/semaphore.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
/* Magic numbers for defining port-device mappings */
|
||||
#define LP_PARPORT_UNSPEC -4
|
||||
|
@ -145,7 +145,7 @@ struct lp_struct {
|
|||
#endif
|
||||
wait_queue_head_t waitq;
|
||||
unsigned int last_error;
|
||||
struct semaphore port_mutex;
|
||||
struct mutex port_mutex;
|
||||
wait_queue_head_t dataq;
|
||||
long timeout;
|
||||
unsigned int best_mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue