]> 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, 21 Sep 2012 01:02:07 +0000 (11:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:36 +0000 (18:46 +1000)
commitd90efb8c1165fd69209cfe3740d4748abd053d3b
treeaaa16a5949cff2ba21ad0c0297be5640a3172cbf
parent5d3846edbd5a583317b5becf474ef7743890e198
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