From patchwork Mon Mar 18 10:56:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Poddar, Sourav" X-Patchwork-Id: 2286501 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 839073FD8C for ; Mon, 18 Mar 2013 10:56:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409Ab3CRK45 (ORCPT ); Mon, 18 Mar 2013 06:56:57 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:59133 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752879Ab3CRK44 (ORCPT ); Mon, 18 Mar 2013 06:56:56 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2IAumBK023209; Mon, 18 Mar 2013 05:56:49 -0500 Received: from DBDE71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2IAum0T022946; Mon, 18 Mar 2013 16:26:48 +0530 (IST) Received: from dbdp33.itg.ti.com (172.24.170.252) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 14.1.323.3; Mon, 18 Mar 2013 16:26:48 +0530 Received: from a0131647.apr.dhcp.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp33.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2IAuluR007213; Mon, 18 Mar 2013 16:26:47 +0530 From: Sourav Poddar To: , , , CC: , , , , Sourav Poddar , Santosh Shilimkar , Felipe Balbi , Rajendra nayak Subject: [PATCH 1/2] driver: serial-omap: move max uart count into generic header file. Date: Mon, 18 Mar 2013 16:26:46 +0530 Message-ID: <1363604206-11264-1-git-send-email-sourav.poddar@ti.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org OMAP_MAX_HSUART_PORTS is moved to omap_serial header file. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar --- drivers/tty/serial/omap-serial.c | 2 -- include/linux/platform_data/serial-omap.h | 1 + 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 5722eaf..4c2ba9f 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -43,8 +43,6 @@ #include #include -#define OMAP_MAX_HSUART_PORTS 6 - #define UART_BUILD_REVISION(x, y) (((x) << 8) | (y)) #define OMAP_UART_REV_42 0x0402 diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h index ff9b0aa..92c48c2 100644 --- a/include/linux/platform_data/serial-omap.h +++ b/include/linux/platform_data/serial-omap.h @@ -29,6 +29,7 @@ * is used as console uart. */ #define OMAP_SERIAL_NAME "ttyO" +#define OMAP_MAX_HSUART_PORTS 6 struct omap_uart_port_info { bool dma_enabled; /* To specify DMA Mode */