Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907AbbBXXpx (ORCPT ); Tue, 24 Feb 2015 18:45:53 -0500 Received: from mail-bl2on0098.outbound.protection.outlook.com ([65.55.169.98]:53152 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752401AbbBXXpv (ORCPT ); Tue, 24 Feb 2015 18:45:51 -0500 X-Greylist: delayed 1045 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Feb 2015 18:45:51 EST From: Peter Crosthwaite To: , CC: , , , Peter Crosthwaite Subject: [PATCH] tty: serial: xilinx_uartps: Use Macro for ttyPS0 Date: Tue, 24 Feb 2015 15:13:57 -0800 Message-ID: <1424819637-23863-1-git-send-email-peter.crosthwaite@xilinx.com> X-Mailer: git-send-email 2.3.0.1.g27a12f1 X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-7.5.0.1018-21354.006 X-TM-AS-Result: No--4.654-7.0-31-10 X-imss-scan-details: No--4.654-7.0-31-10 X-TMASE-MatchedRID: pq6tain/U3zAl07dlSI9Di9PRkKGjWuXQl/FdRYkUZLfUZT83lbkEI90 GxaR8c3tNqotrgKferaui0EVZK4raB8TzIzimOwP0C1sQRfQzEHEQdG7H66TyHEqm8QYBtMOpNd 0YmZGom6WJyserlQhnQxHlAIDnoA7FWQhARlpwWgTSX0OTPmUcJm7876L7aGkYdQam6Jf6IC8Rp mYSkr6oZ/nWxv5my8rgr6lqxbIXlHC3tMwY3ma2xUDj+dgUQVyTE7Co9fKv3w= X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 149.199.60.96) smtp.mailfrom=peter.crosthwaite@xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:149.199.60.96;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(189002)(199003)(106466001)(86362001)(229853001)(19580395003)(85426001)(50986999)(19580405001)(6806004)(16796002)(46102003)(48376002)(92566002)(87936001)(50466002)(77096005)(64026002)(64706001)(47776003)(105606002)(71366001)(33646002)(62966003)(77156002)(36756003)(50226001)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1BFFO11HUB056;H:xsj-tvapsmtpgw01;FPR:;SPF:Fail;PTR:unknown-60-96.xilinx.com;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB056; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:BN1BFFO11HUB056;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB056; X-Forefront-PRVS: 04976078F0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2015 23:14:13.4245 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.96] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1BFFO11HUB056 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 31 All instances of "ttyPS" use this macro except for this one. Convert it. Signed-off-by: Peter Crosthwaite Acked-by: Michal Simek --- drivers/tty/serial/xilinx_uartps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index cff531a..8f9c543 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1154,7 +1154,8 @@ static int __init cdns_uart_console_setup(struct console *co, char *options) return -EINVAL; if (!port->mapbase) { - pr_debug("console on ttyPS%i not present\n", co->index); + pr_debug("console on " CDNS_UART_TTY_NAME "%i not present\n", + co->index); return -ENODEV; } -- 2.3.0.1.g27a12f1 -- 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/