]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial_core.h
[VLAN]: Turn VLAN_DEV_INFO into inline function
[linux-2.6-omap-h63xx.git] / include / linux / serial_core.h
index 4db77249281cc56d04d16dda5369af431a0a21fe..9963f81fea9a080e63b4093023ff7ad98f23a5ac 100644 (file)
 /* Broadcom SB1250, etc. SOC */
 #define PORT_SB1250_DUART      77
 
+/* Freescale ColdFire */
+#define PORT_MCF       78
+
 
 #ifdef __KERNEL__
 
@@ -434,7 +437,7 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch)
 #ifdef SUPPORT_SYSRQ
        if (port->sysrq) {
                if (ch && time_before(jiffies, port->sysrq)) {
-                       handle_sysrq(ch, port->info->tty);
+                       handle_sysrq(ch, port->info ? port->info->tty : NULL);
                        port->sysrq = 0;
                        return 1;
                }