Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Thu, 22 Jan 2009
 10:30:12 -0800
Received: from ausesmta2-3.messageone.com ([64.20.241.45]) by mail.onstor.com
 with Microsoft SMTPSVC(6.0.3790.3959);	 Thu, 22 Jan 2009 10:30:11 -0800
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])	by
 ausesmta2-3.messageone.com (8.13.8/8.13.8) with ESMTP id n0MIUBQl022991	for
 <andy.sharp@onstor.com>; Thu, 22 Jan 2009 12:30:12 -0600
Received: from localhost.localdomain ([127.0.0.1]:16565 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21103485AbZAVS3W
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Thu, 22 Jan 2009 18:29:22 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 22 Jan 2009 18:29:06
 +0000 (GMT)
Received: from orbit.nwl.cc ([91.121.169.95]:12676 "EHLO mail.nwl.cc")	by
 ftp.linux-mips.org with ESMTP id S21103481AbZAVS3D (ORCPT
	<rfc822;linux-mips@linux-mips.org>); Thu, 22 Jan 2009 18:29:03 +0000
Received: from base (localhost [127.0.0.1])	by mail.nwl.cc (Postfix) with
 ESMTP id 07E45400E106;	Thu, 22 Jan 2009 19:28:57 +0100 (CET)
From: Phil Sutter <n0-1@freewrt.org>
To: Linux-Mips List <linux-mips@linux-mips.org>
CC: Ralf Baechle <ralf@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Thu, 22 Jan 2009 10:28:50 -0800
Subject: [PATCH] rb532: update headers
Thread-Topic: [PATCH] rb532: update headers
Thread-Index: Acl8v3awu2FiPse4RZyAjewVbEa3FA==
Message-ID: <20090122182858.07E45400E106@mail.nwl.cc>
References: <20081128193322.D103C386DBBE@mail.ifyouseekate.net>
In-Reply-To: <20081128193322.D103C386DBBE@mail.ifyouseekate.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 22 Jan 2009 18:30:11.0906 (UTC)
 FILETIME=[761E3A20:01C97CBF]
errors-to: linux-mips-bounce@linux-mips.org
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: JjbR/AQdr67/kTtyDKl8fA==
x-messageone-virus-version: vendor=fsecure
 engine=4.65.7400:2.4.4,1.2.40,4.0.164
 definitions=2009-01-22_13:2009-01-21,2009-01-22,2009-01-22 signatures=0
x-messageone-virus-scanned: Clean
x-messageone-envelope-sender: linux-mips-bounce@linux-mips.org
x-messageone-spam-details: rule=m773emszm_notspam policy=m773emszm score=0
 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
 adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0901220124
x-messageone-spam-score: 0
x-messageone-spam-bar:
x-list: linux-mips
x-archive-position: 21797
x-ecartis-version: Ecartis v1.0.0
x-original-sender: n0-1@freewrt.org
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

Remove the {set,get}_434_reg() prototypes, as the functions have been
removed. Also move the prototypes for {get,set}_latch_u5() to the
correct place.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
---
 arch/mips/include/asm/mach-rc32434/gpio.h |    4 ----
 arch/mips/include/asm/mach-rc32434/rb.h   |    3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/mips/include/asm/mach-rc32434/gpio.h b/arch/mips/include/=
asm/mach-rc32434/gpio.h
index b5cf645..ca92c81 100644
--- a/arch/mips/include/asm/mach-rc32434/gpio.h
+++ b/arch/mips/include/asm/mach-rc32434/gpio.h
@@ -80,10 +80,6 @@ struct rb532_gpio_reg {
 /* Compact Flash GPIO pin */
 #define CF_GPIO_NUM		13
=20
-extern void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, uns=
igned val);
-extern unsigned get_434_reg(unsigned reg_offs);
-extern void set_latch_u5(unsigned char or_mask, unsigned char nand_mask);
-extern unsigned char get_latch_u5(void);
 extern void rb532_gpio_set_ilevel(int bit, unsigned gpio);
 extern void rb532_gpio_set_istat(int bit, unsigned gpio);
=20
diff --git a/arch/mips/include/asm/mach-rc32434/rb.h b/arch/mips/include/as=
m/mach-rc32434/rb.h
index f25a849..6dc5f8d 100644
--- a/arch/mips/include/asm/mach-rc32434/rb.h
+++ b/arch/mips/include/asm/mach-rc32434/rb.h
@@ -83,4 +83,7 @@ struct mpmc_device {
 	void __iomem 	*base;
 };
=20
+extern void set_latch_u5(unsigned char or_mask, unsigned char nand_mask);
+extern unsigned char get_latch_u5(void);
+
 #endif  /* __ASM_RC32434_RB_H */
--=20
1.5.6.4


