summaryrefslogtreecommitdiffstats
path: root/sys/arm/s3c2xx0/s3c24x0.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-06-13 04:59:00 +0000
committerimp <imp@FreeBSD.org>2012-06-13 04:59:00 +0000
commit57c7689947a798e4fa446103f01ff8a4d25888dc (patch)
tree4352a081fcd003074b6e33458304b13fd07a43ec /sys/arm/s3c2xx0/s3c24x0.c
parent8839854e9395697ca22da00ae9b9ed0f0021e04a (diff)
downloadFreeBSD-src-57c7689947a798e4fa446103f01ff8a4d25888dc.zip
FreeBSD-src-57c7689947a798e4fa446103f01ff8a4d25888dc.tar.gz
Trim trailing whitespace...
Diffstat (limited to 'sys/arm/s3c2xx0/s3c24x0.c')
-rw-r--r--sys/arm/s3c2xx0/s3c24x0.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arm/s3c2xx0/s3c24x0.c b/sys/arm/s3c2xx0/s3c24x0.c
index 7550cb1..cddd435 100644
--- a/sys/arm/s3c2xx0/s3c24x0.c
+++ b/sys/arm/s3c2xx0/s3c24x0.c
@@ -283,7 +283,7 @@ s3c24x0_config_intr(device_t dev, int irq, enum intr_trigger trig,
s3c2xx0_softc->sc_gpio_ioh, reg, value);
return (0);
-}
+}
static struct resource *
s3c24x0_alloc_resource(device_t bus, device_t child, int type, int *rid,
@@ -356,7 +356,7 @@ s3c24x0_alloc_resource(device_t bus, device_t child, int type, int *rid,
rman_release_resource(res);
return (NULL);
}
- }
+ }
break;
}
@@ -751,19 +751,19 @@ arm_mask_irq(uintptr_t irq)
mask = bus_space_read_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTMSK);
mask |= (1 << irq);
- bus_space_write_4(&s3c2xx0_bs_tag,
+ bus_space_write_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTMSK, mask);
} else if (irq < S3C24X0_EXTIRQ_MIN) {
mask = bus_space_read_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK);
mask |= (1 << (irq - S3C24X0_SUBIRQ_MIN));
- bus_space_write_4(&s3c2xx0_bs_tag,
+ bus_space_write_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK, mask);
} else {
mask = bus_space_read_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_gpio_ioh, GPIO_EINTMASK);
mask |= (1 << (irq - S3C24X0_EXTIRQ_MIN));
- bus_space_write_4(&s3c2xx0_bs_tag,
+ bus_space_write_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, GPIO_EINTMASK, mask);
}
}
@@ -787,13 +787,13 @@ arm_unmask_irq(uintptr_t irq)
mask = bus_space_read_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK);
mask &= ~(1 << (irq - S3C24X0_SUBIRQ_MIN));
- bus_space_write_4(&s3c2xx0_bs_tag,
+ bus_space_write_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, INTCTL_INTSUBMSK, mask);
} else {
mask = bus_space_read_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_gpio_ioh, GPIO_EINTMASK);
mask &= ~(1 << (irq - S3C24X0_EXTIRQ_MIN));
- bus_space_write_4(&s3c2xx0_bs_tag,
+ bus_space_write_4(&s3c2xx0_bs_tag,
s3c2xx0_softc->sc_intctl_ioh, GPIO_EINTMASK, mask);
}
}
OpenPOWER on IntegriCloud