|
@@ -488,7 +488,7 @@ void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)
|
|
highlevel_host_reset(host);
|
|
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
|
|
* hpsb_packet_sent - notify core of sending a packet
|