summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-06-13 04:52:19 +0000
committerimp <imp@FreeBSD.org>2012-06-13 04:52:19 +0000
commit8839854e9395697ca22da00ae9b9ed0f0021e04a (patch)
treea01d1deb378caf31cfcf5f280a3320f24e6561b8 /sys/arm/at91/at91.c
parent636759d6c06739a9a1f43d9f0dbd149434b9c98f (diff)
downloadFreeBSD-src-8839854e9395697ca22da00ae9b9ed0f0021e04a.zip
FreeBSD-src-8839854e9395697ca22da00ae9b9ed0f0021e04a.tar.gz
Strip trailing whitespace before other changes.
Diffstat (limited to 'sys/arm/at91/at91.c')
-rw-r--r--sys/arm/at91/at91.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c
index 9cdb531..877b746 100644
--- a/sys/arm/at91/at91.c
+++ b/sys/arm/at91/at91.c
@@ -72,7 +72,7 @@ at91_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flags,
endpa = round_page(bpa + size);
*bshp = (vm_offset_t)pmap_mapdev(pa, endpa - pa);
-
+
return (0);
}
@@ -98,7 +98,7 @@ at91_bs_subregion(void *t, bus_space_handle_t bsh, bus_size_t offset,
}
static void
-at91_barrier(void *t, bus_space_handle_t bsh, bus_size_t size, bus_size_t b,
+at91_barrier(void *t, bus_space_handle_t bsh, bus_size_t size, bus_size_t b,
int a)
{
}
@@ -272,7 +272,7 @@ at91_attach(device_t dev)
/* Our device list will be added automatically by the cpu device
* e.g. at91rm9200.c when it is identified. To ensure that the
- * CPU and PMC are attached first any other "identified" devices
+ * CPU and PMC are attached first any other "identified" devices
* call BUS_ADD_CHILD(9) with an "order" of at least 2. */
bus_generic_probe(dev);
@@ -357,8 +357,8 @@ at91_release_resource(device_t dev, device_t child, int type,
static int
at91_setup_intr(device_t dev, device_t child,
- struct resource *ires, int flags, driver_filter_t *filt,
- driver_intr_t *intr, void *arg, void **cookiep)
+ struct resource *ires, int flags, driver_filter_t *filt,
+ driver_intr_t *intr, void *arg, void **cookiep)
{
struct at91_softc *sc = device_get_softc(dev);
int error;
@@ -381,7 +381,7 @@ at91_teardown_intr(device_t dev, device_t child, struct resource *res,
{
struct at91_softc *sc = device_get_softc(dev);
- bus_space_write_4(sc->sc_st, sc->sc_aic_sh, IC_IDCR,
+ bus_space_write_4(sc->sc_st, sc->sc_aic_sh, IC_IDCR,
1 << rman_get_start(res));
return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, res, cookie));
}
@@ -397,7 +397,7 @@ at91_activate_resource(device_t bus, device_t child, int type, int rid,
if (type == SYS_RES_MEMORY) {
error = bus_space_map(rman_get_bustag(r),
rman_get_bushandle(r), rman_get_size(r), 0, &p);
- if (error)
+ if (error)
return (error);
rman_set_bushandle(r, p);
}
@@ -432,7 +432,7 @@ void
arm_mask_irq(uintptr_t nb)
{
- bus_space_write_4(at91_softc->sc_st,
+ bus_space_write_4(at91_softc->sc_st,
at91_softc->sc_aic_sh, IC_IDCR, 1 << nb);
}
@@ -458,7 +458,7 @@ void
arm_unmask_irq(uintptr_t nb)
{
- bus_space_write_4(at91_softc->sc_st,
+ bus_space_write_4(at91_softc->sc_st,
at91_softc->sc_aic_sh, IC_IECR, 1 << nb);
bus_space_write_4(at91_softc->sc_st, at91_softc->sc_aic_sh,
IC_EOICR, 0);
OpenPOWER on IntegriCloud