]> 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>
Fri, 5 Oct 2012 04:01:24 +0000 (14:01 +1000)
commitc290489f0d77a000e9db3b9f6449513ec7baa32e
tree58797e577a8f2fb3a544fd35fffd66874fd094cf
parent726711b573e406cbbfcc77a81b2c00805f51f2ff
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