Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756958AbZCTNLe (ORCPT ); Fri, 20 Mar 2009 09:11:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754081AbZCTNLX (ORCPT ); Fri, 20 Mar 2009 09:11:23 -0400 Received: from rv-out-0506.google.com ([209.85.198.235]:16314 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbZCTNLW (ORCPT ); Fri, 20 Mar 2009 09:11:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=lUlCa+IPkCj/LcTZG6L6puCz8WOlKYrtuwjea+c+CoSmWaMgiWA5sGRzQYRFF0IVMN sv3FJRj0CB9yVpfz3GGMCPeridzo6JHK9jYG4AyvrSvxE1usZ1tcrTPNRy0SfstTywg0 Lnoil6I7D+2tft9V1Mri26HZQ9xHJmo52dj80= Date: Fri, 20 Mar 2009 16:11:08 +0300 From: Alexander Beregalov To: Alan Cox , linux-kernel@vger.kernel.org Subject: [PATCH] Serial: fix build problem Message-ID: <20090320131108.GA26565@orion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 30 In file included from drivers/serial/mux.c:37: include/linux/serial_core.h: In function 'uart_handle_sysrq_char': include/linux/serial_core.h:467: error: 'struct uart_port' has no member named 'sysrq' include/linux/serial_core.h:468: error: 'struct uart_port' has no member named 'sysrq' Signed-off-by: Alexander Beregalov --- include/linux/serial_core.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index df9245c..83e4b3f 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -277,7 +277,7 @@ struct uart_port { struct uart_icount icount; /* statistics */ struct console *cons; /* struct console, if any */ -#ifdef CONFIG_SERIAL_CORE_CONSOLE +#if defined(CONFIG_SERIAL_CORE_CONSOLE) || defined(SUPPORT_SYSRQ) unsigned long sysrq; /* sysrq timeout */ #endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/