]> git.karo-electronics.de Git - karo-tx-linux.git/commit
init: Use the stringify operator for the __define_initcall macro
authorMatthew Leach <matthew@mattleach.net>
Thu, 1 Nov 2012 03:08:38 +0000 (13:38 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Nov 2012 03:28:48 +0000 (13:58 +1030)
commit9f859bf82c1da74e58010f642dadc6515e4f8495
tree70a43105ccf62cc079cbdfe6147a76935d04b845
parent41110a4b5ea2144c3830863d24869ce06ab8d30d
init: 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: Rusty Russell <rusty@rustcorp.com.au>
include/linux/init.h