lockdep: make MAX_LOCKDEP_SUBCLASSES unconditionally visible
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 16 Sep 2016 16:02:43 +0000 (18:02 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 24 Sep 2016 08:48:32 +0000 (10:48 +0200)
commita5ecddfe0bf82c92cc2e47385e287b21361a8d70
treea1c69472eb635a60768b5f0cc6b2a346806c03aa
parent8dd1fe1594a712eb326e1607c694fbd1baf85f4b
lockdep: make MAX_LOCKDEP_SUBCLASSES unconditionally visible

This define is needed by i2c_adapter_depth() to detect if we don't
exceed the maximum number of lock subclasses. Make it visible even
if lockdep is disabled.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Peter Rosin <peda@axentia.se>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/linux/lockdep.h