Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752400Ab1FMLsd (ORCPT ); Mon, 13 Jun 2011 07:48:33 -0400 Received: from relay.parallels.com ([195.214.232.42]:39818 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967Ab1FMLsc (ORCPT ); Mon, 13 Jun 2011 07:48:32 -0400 Subject: [PATCH] serial: fix warning in 8250_pci To: Greg Kroah-Hartman , From: Konstantin Khlebnikov Date: Mon, 13 Jun 2011 15:48:25 +0400 Message-ID: <20110613114825.7515.15493.stgit@localhost6> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 998 Lines: 27 fix trivial "initialization from incompatible pointer type" warning introduced by v2.6.39-rc4-48-gd9a0fbf Signed-off-by: Konstantin Khlebnikov --- drivers/tty/serial/8250_pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c index 4b4968a..78e98a5 100644 --- a/drivers/tty/serial/8250_pci.c +++ b/drivers/tty/serial/8250_pci.c @@ -973,7 +973,7 @@ ce4100_serial_setup(struct serial_private *priv, static int pci_omegapci_setup(struct serial_private *priv, - struct pciserial_board *board, + const struct pciserial_board *board, struct uart_port *port, int idx) { return setup_port(priv, port, 2, idx * 8, 0); -- 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/