]> 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>
Tue, 23 Oct 2012 02:50:16 +0000 (13:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 23 Oct 2012 03:11:49 +0000 (14:11 +1100)
commite509970f45d19294fed7945bc37834614c0ea5b2
tree4754b1fe7d6dddf2421d9a94d3ad4540bccf97df
parentb94f7c58cbef3ad598aecb273bd556a86bb2bdfd
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/init.h