console: move for_each_console to linux/console.h
authorJiri Slaby <jslaby@suse.cz>
Thu, 4 Nov 2010 15:20:20 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:50:17 +0000 (12:50 -0800)
commita75d946f42ae1771424a9582129fc5182ff48a1b
tree118c2d23427c507a29bd46b6a046035d62005ecb
parent2adc2917ce4bfb482a6e3c05ff543cef151c9830
console: move for_each_console to linux/console.h

Move it out of printk.c so that we can use it all over the code. There
are some potential users which will be converted to that macro in next
patches.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/console.h
kernel/printk.c