aboutsummaryrefslogtreecommitdiff
path: root/device/dev_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_lookup.c')
-rw-r--r--device/dev_lookup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/device/dev_lookup.c b/device/dev_lookup.c
index 994452cd..c9c39f88 100644
--- a/device/dev_lookup.c
+++ b/device/dev_lookup.c
@@ -60,8 +60,7 @@ queue_head_t dev_number_hash_table[NDEVHASH];
* Lock for device-number to device lookup.
* Must be held before device-ref_count lock.
*/
-decl_simple_lock_data(,
- dev_number_lock)
+def_simple_lock_data(static, dev_number_lock)
struct kmem_cache dev_hdr_cache;