diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-09-15 23:56:39 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:32:34 +0100 |
commit | 1d58996da6a8045c8df2899ce5689a19c721322f (patch) | |
tree | 9398cadb5edfcc97cdbeafc29dd5742349be82f3 /drivers/hid | |
parent | ip_vs.h: fix implicit use of module_get/module_put from module.h (diff) | |
download | linux-1d58996da6a8045c8df2899ce5689a19c721322f.tar.xz linux-1d58996da6a8045c8df2899ce5689a19c721322f.zip |
bluetooth: macroize two small inlines to avoid module.h
These two small inlines make calls to try_module_get() and
module_put() which would force us to keep module.h present
within yet another common include header. We can avoid this
by turning them into macros. The hci_dev_hold construct
is patterned off of raw_spin_trylock_irqsave() in spinlock.h
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions