]> git.karo-electronics.de Git - karo-tx-linux.git/commit
idr: rename MAX_LEVEL to MAX_IDR_LEVEL
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 28 Sep 2012 00:20:22 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:44 +0000 (16:50 +1000)
commit34b21850a6f0566b7512b69bc6da5e4550f2961d
treef13c7260b04478a0b6f0d0183535b498d4bbdbe9
parent637f19f4af459915bcdde4350cdd27b258494c16
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