]> git.karo-electronics.de Git - karo-tx-linux.git/commit
idr: rename MAX_LEVEL to MAX_IDR_LEVEL
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 13 Sep 2012 00:58:12 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:29:50 +0000 (15:29 +1000)
commit9245c2e4dbef7d4de87bacb34a1a9d054d7a7c5a
tree40a8423d1b33450e419a771cfa2d856d6e40ebcb
parentec4ab72b65433faa865be151454b9218d2521649
idr: rename MAX_LEVEL to MAX_IDR_LEVEL

To avoid name conflicts:

drivers/video/riva/fbdev.c:281:9: sparse: preprocessor token MAX_LEVEL redefined

While at it, also make the other names more consistent and add
parentheses.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Cc: walter harms <wharms@bfs.de>
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/idr.h
lib/idr.c