diff options
Diffstat (limited to 'drivers/char/serial167.c')
-rw-r--r-- | drivers/char/serial167.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c index 51e7a46787be..5942a9d674c0 100644 --- a/drivers/char/serial167.c +++ b/drivers/char/serial167.c | |||
@@ -171,7 +171,6 @@ static int startup(struct cyclades_port *); | |||
171 | static void cy_throttle(struct tty_struct *); | 171 | static void cy_throttle(struct tty_struct *); |
172 | static void cy_unthrottle(struct tty_struct *); | 172 | static void cy_unthrottle(struct tty_struct *); |
173 | static void config_setup(struct cyclades_port *); | 173 | static void config_setup(struct cyclades_port *); |
174 | extern void console_print(const char *); | ||
175 | #ifdef CYCLOM_SHOW_STATUS | 174 | #ifdef CYCLOM_SHOW_STATUS |
176 | static void show_status(int); | 175 | static void show_status(int); |
177 | #endif | 176 | #endif |
@@ -245,7 +244,7 @@ void SP(char *data) | |||
245 | { | 244 | { |
246 | unsigned long flags; | 245 | unsigned long flags; |
247 | local_irq_save(flags); | 246 | local_irq_save(flags); |
248 | console_print(data); | 247 | printk(KERN_EMERG "%s", data); |
249 | local_irq_restore(flags); | 248 | local_irq_restore(flags); |
250 | } | 249 | } |
251 | 250 | ||
@@ -255,7 +254,7 @@ void CP(char data) | |||
255 | unsigned long flags; | 254 | unsigned long flags; |
256 | local_irq_save(flags); | 255 | local_irq_save(flags); |
257 | scrn[0] = data; | 256 | scrn[0] = data; |
258 | console_print(scrn); | 257 | printk(KERN_EMERG "%c", scrn); |
259 | local_irq_restore(flags); | 258 | local_irq_restore(flags); |
260 | } /* CP */ | 259 | } /* CP */ |
261 | 260 | ||