]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/init.h: use the stringify operator for the __define_initcall macro
authorMatthew Leach <matthew@mattleach.net>
Thu, 29 Nov 2012 03:18:15 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:25 +0000 (16:23 +1100)
commitb3bda2db6bf13013d76f39be544ad0aac49c6e9b
treea163ae2db9054f930f04a80f267f971937ecccc4
parent2416d29f45fcff6af1190095a0a58ba8d413b535
include/linux/init.h: use the stringify operator for the __define_initcall macro

Currently the __define_initcall() macro takes three arguments, fn, id and
level.  The level argument is exactly the same as the id argument but
wrapped in quotes.  To overcome this need to specify three arguments to
the __define_initcall macro, where one argument is the stringification of
another, we can just use the stringification macro instead.

Signed-off-by: Matthew Leach <matthew@mattleach.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/include/asm/machdep.h
include/linux/init.h