device.h: Add missing inline to #ifndef CONFIG_PRINTK dev_vprintk_emit
authorJoe Perches <joe@perches.com>
Wed, 26 Sep 2012 01:19:57 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:56:59 +0000 (13:56 -0700)
commit0a18b05043acc01d1d6a4bac459e62c79628881c
treee0a10c9327cb188d84bb42641a4f78a32e61abe4
parente5445ee6a62329f6eb28b8ebd8ff4c4659ca0209
device.h: Add missing inline to #ifndef CONFIG_PRINTK dev_vprintk_emit

Also add __printf() verification for format string.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h