From patchwork Wed Jan 21 15:13:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3459 X-Patchwork-Delegate: lethal@linux-sh.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0LFBI8x023064 for ; Wed, 21 Jan 2009 07:11:18 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755660AbZAUPPz (ORCPT ); Wed, 21 Jan 2009 10:15:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755674AbZAUPPz (ORCPT ); Wed, 21 Jan 2009 10:15:55 -0500 Received: from rv-out-0506.google.com ([209.85.198.232]:37964 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755660AbZAUPPy (ORCPT ); Wed, 21 Jan 2009 10:15:54 -0500 Received: by rv-out-0506.google.com with SMTP id k40so3654714rvb.1 for ; Wed, 21 Jan 2009 07:15:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=hNox/ykSXdBIhkjD2hGILAAdyjr6W7FnY67ra2eZN1Y=; b=AULSFHex+IInim/fSZYDE0dAO9wdnxk+BjHfTzWQfjuanSF55L2iQZb1ZJWVHbHePC iMJ2jb03PA3ewrUJHJMvwRHa0OGwre7/li//Zuq8IodmbEkL+r09kg3eGN5j8Akfoho8 +zpIaWLBkh1jqLBXg6JRfUdf23xnMAqDsdd0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=fZdpFoYTBeFsKrcCAJlVrgOIJaGSLsjN81fjrRz1CeS75MtbgX6hUhlQlvg1mJ88cR ePppnsrkHGG45Ske1X3Lb6EpeBfRUVPH5vqy0xs4q5qVR3F2gXioa91SVGr9NrVedhNt 0AFHkE9NfQiKbggmEj1f7ogCKoZWQmfMcDF/s= Received: by 10.140.127.20 with SMTP id z20mr4023122rvc.100.1232550954018; Wed, 21 Jan 2009 07:15:54 -0800 (PST) Received: from rx1.opensource.se (114.8.221.202.ts.2iij.net [202.221.8.114]) by mx.google.com with ESMTPS id b8sm15629046rvf.9.2009.01.21.07.15.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Jan 2009 07:15:53 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Thu, 22 Jan 2009 00:13:58 +0900 Message-Id: <20090121151358.29269.16993.sendpatchset@rx1.opensource.se> In-Reply-To: <20090121151334.29269.55519.sendpatchset@rx1.opensource.se> References: <20090121151334.29269.55519.sendpatchset@rx1.opensource.se> Subject: [PATCH 003/013] sh-sci: remove early_sci_setup() Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Remove unused early_sci_setup() function from sh-sci. Signed-off-by: Magnus Damm --- drivers/serial/sh-sci.c | 14 -------------- include/linux/serial_sci.h | 2 -- 2 files changed, 16 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0003/drivers/serial/sh-sci.c +++ work/drivers/serial/sh-sci.c 2009-01-20 16:36:38.000000000 +0900 @@ -1086,20 +1086,6 @@ static void __init sci_init_ports(void) } } -int __init early_sci_setup(struct uart_port *port) -{ - if (unlikely(port->line > SCI_NPORTS)) - return -ENODEV; - - sci_init_ports(); - - sci_ports[port->line].port.membase = port->membase; - sci_ports[port->line].port.mapbase = port->mapbase; - sci_ports[port->line].port.type = port->type; - - return 0; -} - #ifdef CONFIG_SERIAL_SH_SCI_CONSOLE /* * Print a string to the serial port trying not to disturb --- 0001/include/linux/serial_sci.h +++ work/include/linux/serial_sci.h 2009-01-20 16:36:57.000000000 +0900 @@ -27,6 +27,4 @@ struct plat_sci_port { upf_t flags; /* UPF_* flags */ }; -int early_sci_setup(struct uart_port *port); - #endif /* __LINUX_SERIAL_SCI_H */