Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx delete unused reference.
details: https://anonhg.NetBSD.org/src/rev/cd360c0f87bb
branches: trunk
changeset: 778829:cd360c0f87bb
user: bsh <bsh%NetBSD.org@localhost>
date: Sun Apr 15 09:51:31 2012 +0000
description:
delete unused reference.
delete trailing whitespace, and NKF.
diffstat:
sys/arch/arm/imx/imx51_iomux.c | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diffs (58 lines):
diff -r e7fbd6751ddf -r cd360c0f87bb sys/arch/arm/imx/imx51_iomux.c
--- a/sys/arch/arm/imx/imx51_iomux.c Sun Apr 15 08:57:16 2012 +0000
+++ b/sys/arch/arm/imx/imx51_iomux.c Sun Apr 15 09:51:31 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx51_iomux.c,v 1.2 2011/07/01 20:27:50 dyoung Exp $ */
+/* $NetBSD: imx51_iomux.c,v 1.3 2012/04/15 09:51:31 bsh Exp $ */
/*
* Copyright (c) 2009, 2010 Genetec Corporation. All rights reserved.
@@ -26,7 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_iomux.c,v 1.2 2011/07/01 20:27:50 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_iomux.c,v 1.3 2012/04/15 09:51:31 bsh Exp $");
#define _INTR_PRIVATE
@@ -56,8 +56,6 @@
bus_space_handle_t iomux_memh;
};
-extern struct cfdriver imxiomux_cd;
-
#define IOMUX_READ(iomux, reg) \
bus_space_read_4((iomux)->iomux_memt, (iomux)->iomux_memh, (reg))
#define IOMUX_WRITE(iomux, reg, val) \
@@ -68,10 +66,8 @@
static struct iomux_softc *iomuxsc = NULL;
-CFATTACH_DECL(imxiomux,
- sizeof(struct iomux_softc),
- iomux_match, iomux_attach,
- NULL, NULL);
+CFATTACH_DECL_NEW(imxiomux, sizeof(struct iomux_softc),
+ iomux_match, iomux_attach, NULL, NULL);
int
iomux_match(device_t parent, cfdata_t cfdata, void *aux)
@@ -160,7 +156,7 @@
for (i = 0; conflist[i].pin != IOMUX_CONF_EOT; i++) {
iomux_set_pad_sub(iomuxsc, conflist[i].pin, conflist[i].pad);
- iomux_set_function_sub(iomuxsc, conflist[i].pin,
+ iomux_set_function_sub(iomuxsc, conflist[i].pin,
conflist[i].mux);
}
}
@@ -172,7 +168,7 @@
int i;
for (i = 0; conflist[i].inout != -1; i++) {
- iomux_set_inout(iomuxsc, conflist[i].inout,
+ iomux_set_inout(iomuxsc, conflist[i].inout,
conflist[i].inout_mode);
}
}
Home |
Main Index |
Thread Index |
Old Index