git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
net
/
bluetooth
/
hci_core.c
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index
a49a697
..
9106354
100644
(file)
--- a/
net/bluetooth/hci_core.c
+++ b/
net/bluetooth/hci_core.c
@@
-73,23
+73,23
@@
DEFINE_RWLOCK(hci_cb_list_lock);
struct hci_proto *hci_proto[HCI_MAX_PROTO];
/* HCI notifiers list */
struct hci_proto *hci_proto[HCI_MAX_PROTO];
/* HCI notifiers list */
-static
ATOMIC_NOTIFIER_HEAD(hci_notifier)
;
+static
struct notifier_block *hci_notifier
;
/* ---- HCI notifications ---- */
int hci_register_notifier(struct notifier_block *nb)
{
/* ---- HCI notifications ---- */
int hci_register_notifier(struct notifier_block *nb)
{
- return
atomic_
notifier_chain_register(&hci_notifier, nb);
+ return notifier_chain_register(&hci_notifier, nb);
}
int hci_unregister_notifier(struct notifier_block *nb)
{
}
int hci_unregister_notifier(struct notifier_block *nb)
{
- return
atomic_
notifier_chain_unregister(&hci_notifier, nb);
+ return notifier_chain_unregister(&hci_notifier, nb);
}
static void hci_notify(struct hci_dev *hdev, int event)
{
}
static void hci_notify(struct hci_dev *hdev, int event)
{
-
atomic_
notifier_call_chain(&hci_notifier, event, hdev);
+ notifier_call_chain(&hci_notifier, event, hdev);
}
/* ---- HCI requests ---- */
}
/* ---- HCI requests ---- */