]> 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, 15 Nov 2012 02:38:08 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:31:59 +0000 (17:31 +1100)
commitd4149e797ebf17f92a4fc6b786a32eb341c8d007
tree0250c991110d27f3da3988f0ee10a9d92f0e6481
parent0a2cb76b7761db82fd8af05c251baa64af6878cd
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