Commit 48c8f789 authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

staging: et131x: Add spinlock definition comments

Checkpatch --strict advises that spinlocks should be described when
defined, seems a good idea so this change does that.
Signed-off-by: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c55fe20
......@@ -474,10 +474,9 @@ struct et131x_adapter {
bool has_eeprom;
u8 eeprom_data[2];
/* Spinlocks */
spinlock_t tcb_send_qlock;
spinlock_t tcb_ready_qlock;
spinlock_t rcv_lock;
spinlock_t tcb_send_qlock; /* protects the tx_ring send tcb list */
spinlock_t tcb_ready_qlock; /* protects the tx_ring ready tcb list */
spinlock_t rcv_lock; /* protects the rx_ring receive list */
/* Packet Filter and look ahead size */
u32 packet_filter;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment