]> 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, 25 Oct 2012 01:14:55 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Oct 2012 05:49:49 +0000 (16:49 +1100)
commit98a5af4e844df8dfdf2489f58a53b7a8b2e8a721
tree7396f2416b876d56d6d8885378369c7146793ec6
parent79413f575c4d09c8457c20d9757b5616d172f415
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/include/asm/machdep.h
include/linux/init.h