]> 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>
Tue, 30 Oct 2012 04:15:16 +0000 (15:15 +1100)
commit06ad1209ee8c803820d336507c3e91f7a6ff4c3a
treeb91dbbe62b156970b22d1ab6d6454ea7feb56b72
parent86017cb369354192f42477a243a66f21a862de3c
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