Skip to content

Commit

Permalink
ieee1394: ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition
Browse files Browse the repository at this point in the history
drivers/ieee1394/ieee1394_core.c: Define spinlock using
DEFINE_SPINLOCK instead of assignment to SPIN_LOCK_UNLOCKED

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Matthias Kaehlcke authored and Stefan Richter committed Oct 16, 2007
1 parent 17a19b7 commit 002a98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/ieee1394_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)
highlevel_host_reset(host);
}

static spinlock_t pending_packets_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(pending_packets_lock);

/**
* hpsb_packet_sent - notify core of sending a packet
Expand Down

0 comments on commit 002a98f

Please sign in to comment.