aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cio.c
diff options
context:
space:
mode:
authorMichael Ernst <mernst@de.ibm.com>2008-12-25 07:39:36 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 07:39:20 -0500
commite6d5a428e01b1387852f17b3dd7934239a0be0d4 (patch)
tree2b8325b4e90d43918195022cdc4c4c1726bda477 /drivers/s390/cio/cio.c
parent80a5c36d1dae15520aa0df0eff713c6c41c46035 (diff)
[S390] convert cio printks to pr_xxx macros.
Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio.c')
-rw-r--r--drivers/s390/cio/cio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c
index 8f1cec499532..8a8df7552969 100644
--- a/drivers/s390/cio/cio.c
+++ b/drivers/s390/cio/cio.c
@@ -9,6 +9,9 @@
9 * Martin Schwidefsky (schwidefsky@de.ibm.com) 9 * Martin Schwidefsky (schwidefsky@de.ibm.com)
10 */ 10 */
11 11
12#define KMSG_COMPONENT "cio"
13#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
14
12#include <linux/module.h> 15#include <linux/module.h>
13#include <linux/init.h> 16#include <linux/init.h>
14#include <linux/slab.h> 17#include <linux/slab.h>
@@ -814,7 +817,7 @@ cio_probe_console(void)
814 sch_no = cio_get_console_sch_no(); 817 sch_no = cio_get_console_sch_no();
815 if (sch_no == -1) { 818 if (sch_no == -1) {
816 console_subchannel_in_use = 0; 819 console_subchannel_in_use = 0;
817 printk(KERN_WARNING "cio: No ccw console found!\n"); 820 pr_warning("No CCW console was found\n");
818 return ERR_PTR(-ENODEV); 821 return ERR_PTR(-ENODEV);
819 } 822 }
820 memset(&console_subchannel, 0, sizeof(struct subchannel)); 823 memset(&console_subchannel, 0, sizeof(struct subchannel));